Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009742/0.0009742, allocations: 71.75 kB / 20.97 MB, free: 3.578 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001037/0.001037, allocations: 169 kB / 24.28 MB, free: 272 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9337/0.9337, allocations: 177.1 MB / 204.6 MB, free: 5.633 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.806/1.806, allocations: 359 MB / 0.6055 GB, free: 11.02 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") translateModel(Buildings.Fluid.FixedResistances.Examples.PressureDrop,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|res.m_flow_nominal|res.m_flow",fileNamePrefix="Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.623e-06/1.623e-06, allocations: 0 / 0.7871 GB, free: 11.72 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.439e-05/2.601e-05, allocations: 2.859 kB / 0.7871 GB, free: 11.71 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1425/0.1426, allocations: 157.6 MB / 0.941 GB, free: 13.63 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.002379/0.1449, allocations: 1.707 MB / 0.9426 GB, free: 11.93 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002218/0.1452, allocations: 15.88 kB / 0.9426 GB, free: 11.91 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0005104/0.1457, allocations: 158.8 kB / 0.9428 GB, free: 11.75 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 0.0009511/0.1466, allocations: 0.5324 MB / 0.9433 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007311/0.1474, allocations: 458.5 kB / 0.9438 GB, free: 10.77 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0005798/0.1479, allocations: 0.5692 MB / 0.9443 GB, free: 10.2 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002442/0.1482, allocations: 152.7 kB / 0.9445 GB, free: 10.05 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005061/0.1487, allocations: 394.6 kB / 0.9448 GB, free: 9.664 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001657/0.1488, allocations: 151.5 kB / 0.945 GB, free: 9.516 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 2.528e-05/0.1489, allocations: 12 kB / 0.945 GB, free: 9.504 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006583/0.1495, allocations: 0.5764 MB / 0.9456 GB, free: 8.926 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 8.722e-05/0.1496, allocations: 91.72 kB / 0.9456 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 7.741e-05/0.1497, allocations: 75.8 kB / 0.9457 GB, free: 8.762 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0005623/0.1503, allocations: 474.4 kB / 0.9462 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.1503, allocations: 0 / 0.9462 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.844e-06/0.1503, allocations: 0 / 0.9462 GB, free: 8.297 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 5.962e-06/0.1503, allocations: 0 / 0.9462 GB, free: 8.297 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0009123/0.1512, allocations: 0.6192 MB / 0.9468 GB, free: 7.641 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.779e-05/0.1512, allocations: 15.97 kB / 0.9468 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002966/0.1515, allocations: 79.64 kB / 0.9469 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002936/0.1518, allocations: 247 kB / 0.9471 GB, free: 7.281 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.1518, allocations: 12 kB / 0.9471 GB, free: 7.27 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.025e-05/0.1518, allocations: 20 kB / 0.9471 GB, free: 7.25 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.1521, allocations: 191 kB / 0.9473 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.504e-06/0.1521, allocations: 0 / 0.9473 GB, free: 7.035 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1521, allocations: 4 kB / 0.9473 GB, free: 7.031 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.165e-06/0.1521, allocations: 4 kB / 0.9473 GB, free: 7.027 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.128e-05/0.1522, allocations: 39.97 kB / 0.9474 GB, free: 6.988 MB / 0.8542 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006582/0.1529, allocations: 0.7624 MB / 0.9481 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001294/0.153, allocations: 51.05 kB / 0.9482 GB, free: 6.117 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.739e-05/0.153, allocations: 39.72 kB / 0.9482 GB, free: 6.074 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001291/0.1532, allocations: 31.97 kB / 0.9482 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.1532, allocations: 41.33 kB / 0.9483 GB, free: 5.992 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=10): time 1.453e-06/0.1532, allocations: 4 kB / 0.9483 GB, free: 5.988 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10): time 0.0003031/0.1535, allocations: 113.5 kB / 0.9484 GB, free: 5.871 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.925e-05/0.1535, allocations: 59.41 kB / 0.9484 GB, free: 5.801 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001695/0.1537, allocations: 276.3 kB / 0.9487 GB, free: 5.512 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.808e-05/0.1537, allocations: 29.7 kB / 0.9487 GB, free: 5.477 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 8.514e-05/0.1538, allocations: 203.1 kB / 0.9489 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.877e-05/0.1538, allocations: 35.69 kB / 0.9489 GB, free: 5.238 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.512e-05/0.1539, allocations: 39.36 kB / 0.949 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001181/0.154, allocations: 0.5 MB / 0.9495 GB, free: 4.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.568e-05/0.154, allocations: 19.67 kB / 0.9495 GB, free: 4.656 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000101/0.1541, allocations: 206.6 kB / 0.9497 GB, free: 4.398 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.765e-05/0.1542, allocations: 70.72 kB / 0.9498 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.1542, allocations: 0 / 0.9498 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001285/0.1543, allocations: 101.4 kB / 0.9499 GB, free: 4.207 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.269e-05/0.1543, allocations: 4 kB / 0.9499 GB, free: 4.203 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.027e-06/0.1544, allocations: 4 kB / 0.9499 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.176e-05/0.1544, allocations: 0 / 0.9499 GB, free: 4.199 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.176e-05/0.1544, allocations: 20 kB / 0.9499 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.1544, allocations: 0 / 0.9499 GB, free: 4.18 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.848e-05/0.1545, allocations: 23.8 kB / 0.9499 GB, free: 4.156 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.645e-05/0.1545, allocations: 4 kB / 0.9499 GB, free: 4.152 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.481e-05/0.1546, allocations: 150.8 kB / 0.95 GB, free: 4 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 8.794e-05/0.1547, allocations: 198.6 kB / 0.9502 GB, free: 3.75 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 6.39e-05/0.1548, allocations: 62.69 kB / 0.9503 GB, free: 3.672 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.363e-06/0.1548, allocations: 7.984 kB / 0.9503 GB, free: 3.664 MB / 0.8542 GB Notification: Performance of matching and sorting (n=10) (initialization_lambda0): time 0.0001095/0.1549, allocations: 89.72 kB / 0.9504 GB, free: 3.57 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.444e-06/0.1549, allocations: 8 kB / 0.9504 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.284e-06/0.1549, allocations: 48 / 0.9504 GB, free: 3.562 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.206e-06/0.1549, allocations: 3.984 kB / 0.9504 GB, free: 3.559 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.334e-05/0.1549, allocations: 23.92 kB / 0.9504 GB, free: 3.535 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.054e-06/0.1549, allocations: 4.031 kB / 0.9504 GB, free: 3.531 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.889e-05/0.155, allocations: 16.11 kB / 0.9504 GB, free: 3.516 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.668e-06/0.155, allocations: 8 kB / 0.9505 GB, free: 3.508 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.822e-05/0.1551, allocations: 276 kB / 0.9507 GB, free: 3.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.961e-05/0.1551, allocations: 23.86 kB / 0.9507 GB, free: 3.207 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001415/0.1553, allocations: 99.38 kB / 0.9508 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.934e-06/0.1553, allocations: 0 / 0.9508 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.1553, allocations: 0 / 0.9508 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.1553, allocations: 0 / 0.9508 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004594/0.1557, allocations: 0.5144 MB / 0.9513 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.844e-06/0.1557, allocations: 0 / 0.9513 GB, free: 2.516 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.008e-05/0.1558, allocations: 19.98 kB / 0.9514 GB, free: 2.496 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.356e-06/0.1558, allocations: 7.938 kB / 0.9514 GB, free: 2.488 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.005e-05/0.1558, allocations: 4 kB / 0.9514 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.1558, allocations: 0 / 0.9514 GB, free: 2.484 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.1558, allocations: 4 kB / 0.9514 GB, free: 2.48 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001624/0.156, allocations: 309.7 kB / 0.9517 GB, free: 2.129 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 4.749e-05/0.156, allocations: 39.72 kB / 0.9517 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.156, allocations: 0 / 0.9517 GB, free: 2.09 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.992e-05/0.1561, allocations: 15.98 kB / 0.9517 GB, free: 2.074 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.134e-05/0.1561, allocations: 7.984 kB / 0.9517 GB, free: 2.066 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.224e-06/0.1562, allocations: 4 kB / 0.9517 GB, free: 2.062 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.539e-05/0.1563, allocations: 197.1 kB / 0.9519 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.1563, allocations: 0 / 0.9519 GB, free: 1.875 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000313/0.1566, allocations: 107.7 kB / 0.952 GB, free: 1.77 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002129/0.1568, allocations: 155 kB / 0.9522 GB, free: 1.609 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001716/0.1569, allocations: 96.56 kB / 0.9523 GB, free: 1.508 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.157, allocations: 4 kB / 0.9523 GB, free: 1.504 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.328e-05/0.157, allocations: 35.56 kB / 0.9523 GB, free: 1.465 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000416/0.1574, allocations: 105.7 kB / 0.9524 GB, free: 1.363 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007856/0.1582, allocations: 445.1 kB / 0.9528 GB, free: 0.8633 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.908e-05/0.1583, allocations: 92.31 kB / 0.9529 GB, free: 0.7539 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001129/0.1584, allocations: 49.89 kB / 0.953 GB, free: 0.707 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003244/0.1587, allocations: 28.44 kB / 0.953 GB, free: 0.6758 MB / 0.8542 GB Notification: Performance of SimCode: time 8.41e-07/0.1587, allocations: 4 kB / 0.953 GB, free: 0.6719 MB / 0.8542 GB Notification: Performance of Templates: time 0.005921/0.1646, allocations: 4.03 MB / 0.9569 GB, free: 12.75 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_FixedResistances_Examples_PressureDrop.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.099695428973064]