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.0009148/0.0009148, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.0009354/0.0009354, allocations: 169 kB / 24.06 MB, free: 456 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.9466/0.9466, allocations: 177.1 MB / 204.5 MB, free: 5.504 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.046/2.046, allocations: 429.5 MB / 0.6743 GB, free: 3.914 MB / 0.6355 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.312e-06/1.312e-06, allocations: 0 / 0.8794 GB, free: 6.02 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.426e-05/2.557e-05, allocations: 5.391 kB / 0.8794 GB, free: 6.016 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1291/0.1291, allocations: 143.6 MB / 1.02 GB, free: 5.895 MB / 0.9792 GB Notification: Performance of NFInst.instExpressions: time 0.002826/0.1319, allocations: 2.519 MB / 1.022 GB, free: 3.367 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002405/0.1322, allocations: 19.81 kB / 1.022 GB, free: 3.348 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.0004247/0.1326, allocations: 119.1 kB / 1.022 GB, free: 3.23 MB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.0006153/0.1332, allocations: 314.2 kB / 1.023 GB, free: 2.922 MB / 0.9792 GB Notification: Performance of NFTyping.typeClassSections: time 0.001347/0.1346, allocations: 0.6734 MB / 1.023 GB, free: 2.246 MB / 0.9792 GB Notification: Performance of NFFlatten.flatten: time 0.0006211/0.1352, allocations: 0.5964 MB / 1.024 GB, free: 1.645 MB / 0.9792 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002096/0.1354, allocations: 148.7 kB / 1.024 GB, free: 1.5 MB / 0.9792 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004384/0.1358, allocations: 351.1 kB / 1.024 GB, free: 1.156 MB / 0.9792 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001593/0.136, allocations: 135.5 kB / 1.024 GB, free: 1.023 MB / 0.9792 GB Notification: Performance of NFPackage.collectConstants: time 2.599e-05/0.136, allocations: 12 kB / 1.024 GB, free: 1.012 MB / 0.9792 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.1366, allocations: 446.8 kB / 1.025 GB, free: 0.5742 MB / 0.9792 GB Notification: Performance of NFScalarize.scalarize: time 8.136e-05/0.1367, allocations: 83.67 kB / 1.025 GB, free: 0.4922 MB / 0.9792 GB Notification: Performance of NFVerifyModel.verify: time 7.47e-05/0.1367, allocations: 87.77 kB / 1.025 GB, free: 416 kB / 0.9792 GB Notification: Performance of NFConvertDAE.convert: time 0.0004878/0.1372, allocations: 414.6 kB / 1.025 GB, free: 0 / 0.9792 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1372, allocations: 0 / 1.025 GB, free: 0 / 0.9792 GB Notification: Performance of FrontEnd: time 1.032e-06/0.1372, allocations: 0 / 1.025 GB, free: 0 / 0.9792 GB Notification: Performance of Transformations before backend: time 1.595e-05/0.1372, allocations: 4.047 kB / 1.025 GB, free: 15.99 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.0005838/0.1378, allocations: 0.6309 MB / 1.026 GB, free: 15.33 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1379, allocations: 8.031 kB / 1.026 GB, free: 15.32 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002332/0.1381, allocations: 80.56 kB / 1.026 GB, free: 15.24 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002733/0.1384, allocations: 268.6 kB / 1.026 GB, free: 14.95 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.414e-05/0.1384, allocations: 12.38 kB / 1.026 GB, free: 14.94 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.246e-05/0.1384, allocations: 23.92 kB / 1.026 GB, free: 14.92 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001976/0.1386, allocations: 190.9 kB / 1.027 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.665e-06/0.1386, allocations: 4 kB / 1.027 GB, free: 14.7 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.259e-05/0.1386, allocations: 8 kB / 1.027 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.1386, allocations: 4 kB / 1.027 GB, free: 14.69 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.488e-05/0.1387, allocations: 33.72 kB / 1.027 GB, free: 14.66 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.0006103/0.1393, allocations: 0.7317 MB / 1.027 GB, free: 13.89 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001028/0.1394, allocations: 43.06 kB / 1.027 GB, free: 13.83 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.348e-05/0.1394, allocations: 35.73 kB / 1.027 GB, free: 13.79 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 8.417e-05/0.1395, allocations: 19.98 kB / 1.027 GB, free: 13.77 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.053e-05/0.1395, allocations: 37.33 kB / 1.027 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=10): time 1.393e-06/0.1395, allocations: 0 / 1.027 GB, free: 13.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=10): time 0.0002559/0.1398, allocations: 121.4 kB / 1.028 GB, free: 13.6 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.687e-05/0.1398, allocations: 51.41 kB / 1.028 GB, free: 13.54 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.14, allocations: 314.2 kB / 1.028 GB, free: 13.21 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 1.712e-05/0.14, allocations: 29.7 kB / 1.028 GB, free: 13.18 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 8.853e-05/0.1401, allocations: 219.2 kB / 1.028 GB, free: 12.96 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 2.549e-05/0.1401, allocations: 35.7 kB / 1.028 GB, free: 12.93 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.151e-05/0.1402, allocations: 47.34 kB / 1.028 GB, free: 12.87 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.1403, allocations: 0.5117 MB / 1.029 GB, free: 12.35 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.083e-05/0.1403, allocations: 19.67 kB / 1.029 GB, free: 12.32 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001285/0.1404, allocations: 286 kB / 1.029 GB, free: 11.95 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1406, allocations: 171.7 kB / 1.029 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.234e-06/0.1406, allocations: 0 / 1.029 GB, free: 11.73 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001643/0.1407, allocations: 149.5 kB / 1.029 GB, free: 11.58 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.251e-05/0.1407, allocations: 8 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.422e-06/0.1407, allocations: 4 kB / 1.029 GB, free: 11.57 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.1408, allocations: 4 kB / 1.029 GB, free: 11.56 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.425e-05/0.1409, allocations: 39.92 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.799e-06/0.1409, allocations: 4 kB / 1.029 GB, free: 11.52 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.27e-05/0.1409, allocations: 23.83 kB / 1.029 GB, free: 11.5 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.141, allocations: 12 kB / 1.029 GB, free: 11.48 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 6.795e-05/0.141, allocations: 142.9 kB / 1.03 GB, free: 11.34 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0003724/0.1414, allocations: 283.7 kB / 1.03 GB, free: 10.97 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0001071/0.1415, allocations: 167.7 kB / 1.03 GB, free: 10.75 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.136e-06/0.1415, allocations: 7.938 kB / 1.03 GB, free: 10.74 MB / 0.9948 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001547/0.1417, allocations: 145.3 kB / 1.03 GB, free: 10.59 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 1.081e-05/0.1417, allocations: 11.94 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.404e-06/0.1417, allocations: 0 / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.719e-06/0.1417, allocations: 4 kB / 1.03 GB, free: 10.58 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.004e-05/0.1418, allocations: 39.92 kB / 1.03 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.294e-06/0.1418, allocations: 4 kB / 1.03 GB, free: 10.54 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.306e-05/0.1419, allocations: 24.47 kB / 1.03 GB, free: 10.51 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.479e-05/0.1419, allocations: 16 kB / 1.03 GB, free: 10.5 MB / 0.9948 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.0001102/0.142, allocations: 283.9 kB / 1.03 GB, free: 10.21 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.234e-05/0.142, allocations: 23.86 kB / 1.031 GB, free: 10.19 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001371/0.1422, allocations: 103.8 kB / 1.031 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1422, allocations: 0 / 1.031 GB, free: 10.08 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.1422, allocations: 4 kB / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.985e-06/0.1422, allocations: 0 / 1.031 GB, free: 10.07 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000424/0.1426, allocations: 483.3 kB / 1.031 GB, free: 9.539 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.1426, allocations: 3.984 kB / 1.031 GB, free: 9.535 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.946e-05/0.1426, allocations: 16 kB / 1.031 GB, free: 9.52 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.677e-06/0.1426, allocations: 4 kB / 1.031 GB, free: 9.516 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.835e-06/0.1426, allocations: 4.125 kB / 1.031 GB, free: 9.512 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.968e-06/0.1427, allocations: 7.984 kB / 1.031 GB, free: 9.504 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.148e-06/0.1427, allocations: 11.88 kB / 1.031 GB, free: 9.492 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001527/0.1428, allocations: 297.8 kB / 1.031 GB, free: 9.152 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 5.039e-05/0.1429, allocations: 35.83 kB / 1.031 GB, free: 9.117 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.1429, allocations: 4 kB / 1.031 GB, free: 9.113 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.592e-05/0.143, allocations: 7.984 kB / 1.031 GB, free: 9.105 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.515e-05/0.143, allocations: 19.92 kB / 1.031 GB, free: 9.086 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.193e-06/0.143, allocations: 4 kB / 1.031 GB, free: 9.082 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 8.605e-05/0.1431, allocations: 199 kB / 1.032 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of sort global known variables: time 7e-08/0.1431, allocations: 0 / 1.032 GB, free: 8.887 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0003486/0.1434, allocations: 119.7 kB / 1.032 GB, free: 8.77 MB / 0.9948 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.0001914/0.1436, allocations: 143.1 kB / 1.032 GB, free: 8.621 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.0001821/0.1438, allocations: 134.3 kB / 1.032 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1438, allocations: 0 / 1.032 GB, free: 8.484 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 3.607e-05/0.1438, allocations: 36 kB / 1.032 GB, free: 8.445 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003892/0.1442, allocations: 93.08 kB / 1.032 GB, free: 8.355 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00071/0.1449, allocations: 496.7 kB / 1.033 GB, free: 7.809 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.301e-05/0.145, allocations: 92.3 kB / 1.033 GB, free: 7.699 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 9.726e-05/0.1451, allocations: 30.64 kB / 1.033 GB, free: 7.668 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001835/0.1453, allocations: 154.1 kB / 1.033 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of SimCode: time 6.11e-07/0.1453, allocations: 0 / 1.033 GB, free: 7.516 MB / 0.9948 GB Notification: Performance of Templates: time 0.00663/0.1519, allocations: 4.31 MB / 1.037 GB, free: 3.316 MB / 0.9948 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.448467880953103]