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.0009292/0.0009292, allocations: 81.17 kB / 19.87 MB, free: 4.621 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.000968/0.000968, allocations: 169 kB / 23.27 MB, free: 1.223 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.9433/0.9433, allocations: 177.2 MB / 203.7 MB, free: 5.512 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.221/2.221, allocations: 438.1 MB / 0.682 GB, free: 14.16 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.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.593e-06/1.593e-06, allocations: 3.938 kB / 0.8897 GB, free: 9.809 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.09e-05/2.249e-05, allocations: 6.312 kB / 0.8897 GB, free: 9.801 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1151/0.1152, allocations: 143.6 MB / 1.03 GB, free: 9.633 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002714/0.1179, allocations: 2.51 MB / 1.032 GB, free: 7.117 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002524/0.1181, allocations: 19.81 kB / 1.032 GB, free: 7.098 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.000418/0.1185, allocations: 111.2 kB / 1.033 GB, free: 6.988 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0006571/0.1192, allocations: 322.2 kB / 1.033 GB, free: 6.672 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.001262/0.1205, allocations: 0.6772 MB / 1.034 GB, free: 5.992 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0006975/0.1212, allocations: 0.5964 MB / 1.034 GB, free: 5.395 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002407/0.1214, allocations: 148.8 kB / 1.034 GB, free: 5.242 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000489/0.1219, allocations: 362.9 kB / 1.035 GB, free: 4.887 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001726/0.1221, allocations: 139.5 kB / 1.035 GB, free: 4.75 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.873e-05/0.1221, allocations: 16 kB / 1.035 GB, free: 4.734 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005714/0.1227, allocations: 423 kB / 1.035 GB, free: 4.32 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.8e-05/0.1228, allocations: 95.66 kB / 1.035 GB, free: 4.227 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.066e-05/0.1228, allocations: 83.78 kB / 1.035 GB, free: 4.145 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005312/0.1234, allocations: 414.6 kB / 1.036 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1234, allocations: 0 / 1.036 GB, free: 3.738 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.363e-06/0.1234, allocations: 4 kB / 1.036 GB, free: 3.734 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 4.628e-06/0.1234, allocations: 0 / 1.036 GB, free: 3.734 MB / 0.9948 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.0005961/0.124, allocations: 0.6387 MB / 1.036 GB, free: 3.059 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.844e-05/0.124, allocations: 8.625 kB / 1.036 GB, free: 3.051 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000226/0.1242, allocations: 80.55 kB / 1.036 GB, free: 2.973 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002755/0.1245, allocations: 272.5 kB / 1.037 GB, free: 2.68 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.606e-05/0.1245, allocations: 12.38 kB / 1.037 GB, free: 2.668 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.804e-05/0.1245, allocations: 19.94 kB / 1.037 GB, free: 2.648 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001997/0.1247, allocations: 186.9 kB / 1.037 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.1247, allocations: 0 / 1.037 GB, free: 2.438 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1248, allocations: 4 kB / 1.037 GB, free: 2.434 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.16e-06/0.1248, allocations: 4 kB / 1.037 GB, free: 2.43 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.449e-05/0.1248, allocations: 36.56 kB / 1.037 GB, free: 2.395 MB / 0.9948 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.0006048/0.1254, allocations: 0.7318 MB / 1.038 GB, free: 1.625 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.1255, allocations: 51.03 kB / 1.038 GB, free: 1.562 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.906e-05/0.1256, allocations: 27.67 kB / 1.038 GB, free: 1.531 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.941e-05/0.1256, allocations: 23.98 kB / 1.038 GB, free: 1.508 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.255e-05/0.1257, allocations: 41.38 kB / 1.038 GB, free: 1.457 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.403e-06/0.1257, allocations: 4 kB / 1.038 GB, free: 1.453 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002493/0.1259, allocations: 117.4 kB / 1.038 GB, free: 1.332 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.422e-05/0.1259, allocations: 51.41 kB / 1.038 GB, free: 1.27 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001656/0.1261, allocations: 310.2 kB / 1.038 GB, free: 0.9492 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1261, allocations: 25.7 kB / 1.038 GB, free: 0.918 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 9.335e-05/0.1262, allocations: 215.2 kB / 1.038 GB, free: 0.7031 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.837e-05/0.1262, allocations: 39.67 kB / 1.039 GB, free: 0.6641 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.095e-05/0.1263, allocations: 51.34 kB / 1.039 GB, free: 0.6055 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.1264, allocations: 0.5078 MB / 1.039 GB, free: 88 kB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.642e-05/0.1265, allocations: 31.62 kB / 1.039 GB, free: 52 kB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001342/0.1266, allocations: 281.3 kB / 1.039 GB, free: 15.68 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001223/0.1267, allocations: 167.7 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.316e-06/0.1267, allocations: 4 kB / 1.04 GB, free: 15.46 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001526/0.1269, allocations: 145.2 kB / 1.04 GB, free: 15.31 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.1269, allocations: 11.98 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.061e-06/0.1269, allocations: 4 kB / 1.04 GB, free: 15.3 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.206e-05/0.1269, allocations: 4.312 kB / 1.04 GB, free: 15.29 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.942e-05/0.127, allocations: 43.92 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.679e-06/0.127, allocations: 4 kB / 1.04 GB, free: 15.25 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.672e-05/0.1271, allocations: 15.89 kB / 1.04 GB, free: 15.23 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.934e-05/0.1271, allocations: 15.98 kB / 1.04 GB, free: 15.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 8.04e-05/0.1272, allocations: 138.8 kB / 1.04 GB, free: 15.07 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001155/0.1273, allocations: 283.8 kB / 1.04 GB, free: 14.7 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001025/0.1274, allocations: 172 kB / 1.04 GB, free: 14.48 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.976e-06/0.1274, allocations: 3.938 kB / 1.04 GB, free: 14.48 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001445/0.1275, allocations: 149.5 kB / 1.04 GB, free: 14.32 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 6.672e-06/0.1275, allocations: 7.938 kB / 1.04 GB, free: 14.32 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.258e-06/0.1275, allocations: 8 kB / 1.04 GB, free: 14.31 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.901e-06/0.1275, allocations: 4 kB / 1.04 GB, free: 14.3 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.079e-05/0.1276, allocations: 39.97 kB / 1.041 GB, free: 14.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.499e-06/0.1276, allocations: 7.938 kB / 1.041 GB, free: 14.26 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.006e-05/0.1277, allocations: 15.89 kB / 1.041 GB, free: 14.24 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.088e-05/0.1277, allocations: 12 kB / 1.041 GB, free: 14.23 MB / 1.01 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 0.000125/0.1278, allocations: 284 kB / 1.041 GB, free: 13.95 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.911e-05/0.1279, allocations: 27.89 kB / 1.041 GB, free: 13.92 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001247/0.128, allocations: 95.5 kB / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.128, allocations: 0 / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.363e-06/0.128, allocations: 0 / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.835e-06/0.128, allocations: 0 / 1.041 GB, free: 13.82 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003982/0.1284, allocations: 483.3 kB / 1.041 GB, free: 13.28 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.1284, allocations: 224 / 1.041 GB, free: 13.28 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.633e-05/0.1284, allocations: 23.98 kB / 1.041 GB, free: 13.26 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.1284, allocations: 4 kB / 1.041 GB, free: 13.25 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.1284, allocations: 0 / 1.041 GB, free: 13.25 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.486e-06/0.1284, allocations: 11.88 kB / 1.041 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.1285, allocations: 7.938 kB / 1.041 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.1286, allocations: 302 kB / 1.042 GB, free: 12.89 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.424e-05/0.1286, allocations: 35.8 kB / 1.042 GB, free: 12.86 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.751e-05/0.1287, allocations: 4 kB / 1.042 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.277e-05/0.1287, allocations: 4 kB / 1.042 GB, free: 12.85 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.418e-05/0.1288, allocations: 23.86 kB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.344e-06/0.1288, allocations: 4 kB / 1.042 GB, free: 12.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 8.458e-05/0.1289, allocations: 206.9 kB / 1.042 GB, free: 12.62 MB / 1.01 GB Notification: Performance of sort global known variables: time 1.6e-07/0.1289, allocations: 0 / 1.042 GB, free: 12.62 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003493/0.1292, allocations: 115.7 kB / 1.042 GB, free: 12.5 MB / 1.01 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.0001966/0.1294, allocations: 139.1 kB / 1.042 GB, free: 12.36 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002421/0.1297, allocations: 129.6 kB / 1.042 GB, free: 12.22 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.1297, allocations: 4 kB / 1.042 GB, free: 12.22 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 3.753e-05/0.1297, allocations: 45.25 kB / 1.042 GB, free: 12.17 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003714/0.1301, allocations: 93.16 kB / 1.043 GB, free: 12.08 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006774/0.1307, allocations: 480.8 kB / 1.043 GB, free: 11.55 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.333e-05/0.1308, allocations: 88.3 kB / 1.043 GB, free: 11.45 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 9.4e-05/0.1309, allocations: 33.94 kB / 1.043 GB, free: 11.42 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001732/0.1311, allocations: 150.1 kB / 1.043 GB, free: 11.27 MB / 1.01 GB Notification: Performance of SimCode: time 8.51e-07/0.1311, allocations: 0 / 1.043 GB, free: 11.27 MB / 1.01 GB Notification: Performance of Templates: time 0.006292/0.1374, allocations: 4.239 MB / 1.047 GB, free: 7.133 MB / 1.01 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.684048901312053]