Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009257/0.0009257, allocations: 80.81 kB / 19.94 MB, free: 4.539 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.0009672/0.0009672, allocations: 181 kB / 23.36 MB, free: 1.125 MB / 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.9058/0.9058, allocations: 177.1 MB / 203.8 MB, free: 5.477 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.27/2.27, allocations: 438.8 MB / 0.6827 GB, free: 13.54 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.793e-05/1.935e-05, allocations: 4.422 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1379/0.1379, allocations: 145.7 MB / 0.9809 GB, free: 11.89 MB / 0.948 GB Notification: Performance of NFInst.instExpressions: time 0.002887/0.1408, allocations: 2.571 MB / 0.9834 GB, free: 9.312 MB / 0.948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002611/0.1411, allocations: 19.81 kB / 0.9834 GB, free: 9.293 MB / 0.948 GB Notification: Performance of NFTyping.typeComponents: time 0.0003939/0.1415, allocations: 115.1 kB / 0.9835 GB, free: 9.18 MB / 0.948 GB Notification: Performance of NFTyping.typeBindings: time 0.000584/0.142, allocations: 314.2 kB / 0.9838 GB, free: 8.871 MB / 0.948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001162/0.1432, allocations: 0.6811 MB / 0.9845 GB, free: 8.188 MB / 0.948 GB Notification: Performance of NFFlatten.flatten: time 0.0006222/0.1438, allocations: 0.5886 MB / 0.985 GB, free: 7.598 MB / 0.948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002084/0.144, allocations: 154.7 kB / 0.9852 GB, free: 7.449 MB / 0.948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005482/0.1446, allocations: 343 kB / 0.9855 GB, free: 7.113 MB / 0.948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001491/0.1447, allocations: 139.5 kB / 0.9856 GB, free: 6.977 MB / 0.948 GB Notification: Performance of NFPackage.collectConstants: time 2.433e-05/0.1448, allocations: 12 kB / 0.9857 GB, free: 6.965 MB / 0.948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004637/0.1452, allocations: 426.9 kB / 0.9861 GB, free: 6.547 MB / 0.948 GB Notification: Performance of NFScalarize.scalarize: time 8.077e-05/0.1453, allocations: 91.72 kB / 0.9862 GB, free: 6.457 MB / 0.948 GB Notification: Performance of NFVerifyModel.verify: time 6.948e-05/0.1454, allocations: 87.77 kB / 0.9862 GB, free: 6.371 MB / 0.948 GB Notification: Performance of NFConvertDAE.convert: time 0.0004471/0.1458, allocations: 426.5 kB / 0.9866 GB, free: 5.953 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 3.046e-06/0.1458, allocations: 0 / 0.9866 GB, free: 5.953 MB / 0.948 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1458, allocations: 0 / 0.9866 GB, free: 5.953 MB / 0.948 GB Notification: Performance of Transformations before backend: time 3.457e-06/0.1458, allocations: 0 / 0.9866 GB, free: 5.953 MB / 0.948 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.0004912/0.1463, allocations: 0.5063 MB / 0.9871 GB, free: 5.422 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 2.915e-05/0.1463, allocations: 8.625 kB / 0.9871 GB, free: 5.414 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002095/0.1466, allocations: 64.81 kB / 0.9872 GB, free: 5.352 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.1468, allocations: 257.8 kB / 0.9875 GB, free: 5.07 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.1468, allocations: 16.38 kB / 0.9875 GB, free: 5.055 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.203e-05/0.1468, allocations: 23.94 kB / 0.9875 GB, free: 5.031 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001851/0.147, allocations: 181.3 kB / 0.9877 GB, free: 4.828 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.742e-06/0.147, allocations: 0 / 0.9877 GB, free: 4.828 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.189e-05/0.147, allocations: 4 kB / 0.9877 GB, free: 4.824 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.661e-06/0.147, allocations: 4 kB / 0.9877 GB, free: 4.82 MB / 0.948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.741e-05/0.1471, allocations: 52.34 kB / 0.9877 GB, free: 4.766 MB / 0.948 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.000501/0.1476, allocations: 0.5148 MB / 0.9882 GB, free: 4.223 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 9.703e-05/0.1477, allocations: 86.41 kB / 0.9883 GB, free: 4.129 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.155e-05/0.1477, allocations: 31.64 kB / 0.9883 GB, free: 4.094 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 7.606e-05/0.1478, allocations: 23.98 kB / 0.9884 GB, free: 4.07 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.761e-05/0.1478, allocations: 30.56 kB / 0.9884 GB, free: 4.031 MB / 0.948 GB Notification: Performance of pre-optimization done (n=10): time 9.92e-07/0.1478, allocations: 0 / 0.9884 GB, free: 4.031 MB / 0.948 GB Notification: Performance of matching and sorting (n=10): time 0.0002065/0.148, allocations: 105.5 kB / 0.9885 GB, free: 3.922 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.1481, allocations: 55.41 kB / 0.9885 GB, free: 3.855 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001251/0.1482, allocations: 239 kB / 0.9888 GB, free: 3.613 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 1.446e-05/0.1482, allocations: 29.7 kB / 0.9888 GB, free: 3.578 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 5.895e-05/0.1483, allocations: 144.9 kB / 0.9889 GB, free: 3.43 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 2.3e-05/0.1483, allocations: 35.69 kB / 0.989 GB, free: 3.395 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.91e-05/0.1483, allocations: 41.69 kB / 0.989 GB, free: 3.348 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 7.518e-05/0.1484, allocations: 338.8 kB / 0.9893 GB, free: 3.008 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.994e-05/0.1484, allocations: 27.62 kB / 0.9894 GB, free: 2.977 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.503e-05/0.1485, allocations: 239.4 kB / 0.9896 GB, free: 2.668 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.621e-05/0.1486, allocations: 139.4 kB / 0.9897 GB, free: 2.488 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/0.1486, allocations: 4 kB / 0.9897 GB, free: 2.484 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001293/0.1488, allocations: 139 kB / 0.9899 GB, free: 2.34 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.1488, allocations: 4 kB / 0.9899 GB, free: 2.336 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.28e-06/0.1488, allocations: 4 kB / 0.9899 GB, free: 2.332 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.117e-05/0.1488, allocations: 4 kB / 0.9899 GB, free: 2.328 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.183e-05/0.1489, allocations: 35.92 kB / 0.9899 GB, free: 2.293 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.608e-06/0.1489, allocations: 4 kB / 0.9899 GB, free: 2.289 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.671e-05/0.1489, allocations: 20.2 kB / 0.9899 GB, free: 2.27 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.593e-05/0.149, allocations: 15.98 kB / 0.9899 GB, free: 2.254 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 5.87e-05/0.149, allocations: 101.8 kB / 0.99 GB, free: 2.148 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 9.384e-05/0.1491, allocations: 245.3 kB / 0.9903 GB, free: 1.832 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 8.651e-05/0.1492, allocations: 136.8 kB / 0.9904 GB, free: 1.656 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.774e-06/0.1492, allocations: 4 kB / 0.9904 GB, free: 1.652 MB / 0.948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001157/0.1493, allocations: 127 kB / 0.9905 GB, free: 1.52 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 5.049e-06/0.1493, allocations: 8 kB / 0.9905 GB, free: 1.512 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.1493, allocations: 8 kB / 0.9905 GB, free: 1.504 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.196e-06/0.1493, allocations: 4.312 kB / 0.9906 GB, free: 1.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.469e-05/0.1494, allocations: 39.92 kB / 0.9906 GB, free: 1.461 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.671e-06/0.1494, allocations: 15.86 kB / 0.9906 GB, free: 1.445 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.737e-05/0.1495, allocations: 19.89 kB / 0.9906 GB, free: 1.426 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.958e-06/0.1495, allocations: 12 kB / 0.9906 GB, free: 1.414 MB / 0.948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (19): * Single equations (assignments): 19 * 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 6.822e-05/0.1495, allocations: 192.1 kB / 0.9908 GB, free: 1.219 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.312e-05/0.1496, allocations: 15.98 kB / 0.9908 GB, free: 1.203 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.953e-05/0.1497, allocations: 91.75 kB / 0.9909 GB, free: 1.105 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.1497, allocations: 0 / 0.9909 GB, free: 1.105 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.132e-06/0.1497, allocations: 0 / 0.9909 GB, free: 1.105 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.435e-06/0.1497, allocations: 4 kB / 0.9909 GB, free: 1.102 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003511/0.15, allocations: 479.9 kB / 0.9914 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.223e-06/0.15, allocations: 0 / 0.9914 GB, free: 0.5781 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.521e-05/0.1501, allocations: 19.98 kB / 0.9914 GB, free: 0.5586 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.1501, allocations: 4 kB / 0.9914 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.551e-06/0.1501, allocations: 0 / 0.9914 GB, free: 0.5547 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.1501, allocations: 8.219 kB / 0.9914 GB, free: 0.5469 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.1501, allocations: 7.984 kB / 0.9914 GB, free: 0.5391 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.1502, allocations: 279.9 kB / 0.9917 GB, free: 224 kB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 3.58e-05/0.1503, allocations: 31.84 kB / 0.9917 GB, free: 192 kB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.576e-05/0.1503, allocations: 0 / 0.9917 GB, free: 192 kB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.007e-05/0.1503, allocations: 11.98 kB / 0.9917 GB, free: 180 kB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.898e-05/0.1504, allocations: 15.92 kB / 0.9917 GB, free: 164 kB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.422e-06/0.1504, allocations: 4 kB / 0.9917 GB, free: 160 kB / 0.948 GB Notification: Performance of sorting global known variables: time 5.431e-05/0.1504, allocations: 88.62 kB / 0.9918 GB, free: 72 kB / 0.948 GB Notification: Performance of sort global known variables: time 5.1e-08/0.1504, allocations: 0 / 0.9918 GB, free: 72 kB / 0.948 GB Notification: Performance of remove unused functions: time 0.0002824/0.1507, allocations: 123.8 kB / 0.992 GB, free: 15.95 MB / 0.9636 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.0002799/0.151, allocations: 124.3 kB / 0.9921 GB, free: 15.82 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 0.0001473/0.1511, allocations: 130.4 kB / 0.9922 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/0.1511, allocations: 0 / 0.9922 GB, free: 15.69 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 3.528e-05/0.1512, allocations: 36.77 kB / 0.9922 GB, free: 15.65 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003077/0.1515, allocations: 94.67 kB / 0.9923 GB, free: 15.56 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006306/0.1521, allocations: 466.1 kB / 0.9928 GB, free: 15.05 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.398e-05/0.1522, allocations: 92.3 kB / 0.9929 GB, free: 14.94 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 8.723e-05/0.1523, allocations: 33.88 kB / 0.9929 GB, free: 14.9 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001535/0.1524, allocations: 117.3 kB / 0.993 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of SimCode: time 8.02e-07/0.1524, allocations: 0 / 0.993 GB, free: 14.79 MB / 0.9636 GB Notification: Performance of Templates: time 0.005669/0.1581, allocations: 4.177 MB / 0.9971 GB, free: 10.7 MB / 0.9636 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; mkfifo Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe >> ../files/Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.sim & ./Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.FixedResistances.Examples.PressureDrop_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.195333664771169]