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.001422/0.001422, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001024/0.001024, allocations: 173 kB / 23.49 MB, free: 1.059 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 1.038/1.038, allocations: 177.1 MB / 203.8 MB, free: 5.605 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.067/2.067, allocations: 429.5 MB / 0.6736 GB, free: 4.059 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.192e-06/1.192e-06, allocations: 0 / 0.8782 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.754e-05/1.874e-05, allocations: 5.859 kB / 0.8782 GB, free: 6.645 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.FixedResistances.Examples.PressureDrop): time 0.1253/0.1254, allocations: 157.7 MB / 1.032 GB, free: 8.426 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.002724/0.1281, allocations: 2.535 MB / 1.035 GB, free: 5.883 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000194/0.1283, allocations: 15.88 kB / 1.035 GB, free: 5.867 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.0004664/0.1287, allocations: 166.8 kB / 1.035 GB, free: 5.703 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.0008159/0.1296, allocations: 0.5441 MB / 1.035 GB, free: 5.156 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009514/0.1305, allocations: 0.6811 MB / 1.036 GB, free: 4.473 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.0005598/0.1311, allocations: 0.5964 MB / 1.037 GB, free: 3.871 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002158/0.1313, allocations: 148.7 kB / 1.037 GB, free: 3.727 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006292/0.1319, allocations: 0.5644 MB / 1.037 GB, free: 3.16 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001613/0.1321, allocations: 147.5 kB / 1.037 GB, free: 3.016 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 2.479e-05/0.1321, allocations: 12 kB / 1.037 GB, free: 3.004 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005623/0.1327, allocations: 0.561 MB / 1.038 GB, free: 2.441 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 8.142e-05/0.1327, allocations: 91.66 kB / 1.038 GB, free: 2.352 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 7.808e-05/0.1328, allocations: 87.77 kB / 1.038 GB, free: 2.266 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.0005145/0.1333, allocations: 478.4 kB / 1.039 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.1333, allocations: 0 / 1.039 GB, free: 1.797 MB / 0.9948 GB Notification: Performance of FrontEnd: time 9.92e-07/0.1333, allocations: 3.938 kB / 1.039 GB, free: 1.793 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.1334, allocations: 0 / 1.039 GB, free: 1.793 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.0006121/0.134, allocations: 0.6386 MB / 1.039 GB, free: 1.117 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 3.936e-05/0.134, allocations: 12.03 kB / 1.039 GB, free: 1.105 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002839/0.1343, allocations: 87.59 kB / 1.039 GB, free: 1.02 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002853/0.1346, allocations: 267.9 kB / 1.04 GB, free: 0.7344 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.407e-05/0.1346, allocations: 16 kB / 1.04 GB, free: 0.7188 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.195e-05/0.1346, allocations: 20 kB / 1.04 GB, free: 0.6992 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002322/0.1348, allocations: 183.1 kB / 1.04 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.364e-06/0.1348, allocations: 0 / 1.04 GB, free: 0.4922 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.397e-05/0.1349, allocations: 4 kB / 1.04 GB, free: 500 kB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.083e-06/0.1349, allocations: 4 kB / 1.04 GB, free: 496 kB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001628/0.135, allocations: 49 kB / 1.04 GB, free: 448 kB / 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.0006618/0.1357, allocations: 0.7897 MB / 1.041 GB, free: 15.6 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.1358, allocations: 47.05 kB / 1.041 GB, free: 15.54 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.378e-05/0.1359, allocations: 35.67 kB / 1.041 GB, free: 15.5 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001307/0.136, allocations: 35.97 kB / 1.041 GB, free: 15.47 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.041e-05/0.136, allocations: 37.39 kB / 1.041 GB, free: 15.42 MB / 1.01 GB Notification: Performance of pre-optimization done (n=10): time 1.292e-06/0.136, allocations: 0 / 1.041 GB, free: 15.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=10): time 0.0002884/0.1363, allocations: 129.7 kB / 1.041 GB, free: 15.29 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.617e-05/0.1363, allocations: 55.34 kB / 1.041 GB, free: 15.22 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001839/0.1365, allocations: 310.3 kB / 1.041 GB, free: 14.9 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.805e-05/0.1365, allocations: 33.7 kB / 1.041 GB, free: 14.86 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 8.226e-05/0.1366, allocations: 199.3 kB / 1.041 GB, free: 14.66 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.775e-05/0.1366, allocations: 43.62 kB / 1.041 GB, free: 14.62 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.052e-05/0.1367, allocations: 51.36 kB / 1.042 GB, free: 14.56 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 0.0001108/0.1368, allocations: 0.5078 MB / 1.042 GB, free: 14.04 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.187e-05/0.1368, allocations: 27.62 kB / 1.042 GB, free: 14.01 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001308/0.137, allocations: 284.5 kB / 1.042 GB, free: 13.64 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001232/0.1371, allocations: 167.7 kB / 1.042 GB, free: 13.42 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.1371, allocations: 0 / 1.042 GB, free: 13.42 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0001793/0.1373, allocations: 169.2 kB / 1.043 GB, free: 13.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.288e-05/0.1373, allocations: 10.5 kB / 1.043 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.789e-06/0.1373, allocations: 0 / 1.043 GB, free: 13.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.122e-05/0.1373, allocations: 4 kB / 1.043 GB, free: 13.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.878e-05/0.1374, allocations: 39.92 kB / 1.043 GB, free: 13.2 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.934e-06/0.1374, allocations: 4 kB / 1.043 GB, free: 13.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.359e-05/0.1375, allocations: 32.12 kB / 1.043 GB, free: 13.16 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.678e-05/0.1375, allocations: 8.141 kB / 1.043 GB, free: 13.15 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 7.915e-05/0.1376, allocations: 146.9 kB / 1.043 GB, free: 13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0001201/0.1377, allocations: 289.5 kB / 1.043 GB, free: 12.63 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.000113/0.1378, allocations: 167.8 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.32e-07/0.1378, allocations: 4 kB / 1.043 GB, free: 12.41 MB / 1.01 GB Notification: Performance of matching and sorting (n=19) (initialization_lambda0): time 0.0001642/0.138, allocations: 157.2 kB / 1.043 GB, free: 12.25 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 7.514e-06/0.138, allocations: 8 kB / 1.043 GB, free: 12.24 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.843e-06/0.138, allocations: 320 / 1.043 GB, free: 12.24 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.138e-06/0.138, allocations: 12 kB / 1.043 GB, free: 12.23 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.069e-05/0.1381, allocations: 35.92 kB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.476e-06/0.1381, allocations: 4 kB / 1.044 GB, free: 12.19 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.313e-05/0.1381, allocations: 19.94 kB / 1.044 GB, free: 12.17 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.002e-05/0.1382, allocations: 8 kB / 1.044 GB, free: 12.16 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 9.072e-05/0.1382, allocations: 291.8 kB / 1.044 GB, free: 11.87 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.935e-05/0.1383, allocations: 27.81 kB / 1.044 GB, free: 11.84 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001354/0.1384, allocations: 103.5 kB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.204e-06/0.1384, allocations: 0 / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.865e-06/0.1384, allocations: 4 kB / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.297e-06/0.1384, allocations: 0 / 1.044 GB, free: 11.73 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004352/0.1388, allocations: 0.5184 MB / 1.044 GB, free: 11.14 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.1389, allocations: 4 kB / 1.044 GB, free: 11.13 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.834e-05/0.1389, allocations: 24.05 kB / 1.045 GB, free: 11.11 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.887e-06/0.1389, allocations: 7.938 kB / 1.045 GB, free: 11.1 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.977e-06/0.1389, allocations: 8.219 kB / 1.045 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.707e-06/0.1389, allocations: 4 kB / 1.045 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.443e-06/0.1389, allocations: 0 / 1.045 GB, free: 11.09 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001578/0.1391, allocations: 301.7 kB / 1.045 GB, free: 10.75 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 4.635e-05/0.1391, allocations: 47.67 kB / 1.045 GB, free: 10.7 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.1391, allocations: 11.97 kB / 1.045 GB, free: 10.69 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.378e-05/0.1392, allocations: 4 kB / 1.045 GB, free: 10.68 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.037e-05/0.1393, allocations: 11.98 kB / 1.045 GB, free: 10.67 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.903e-06/0.1393, allocations: 8 kB / 1.045 GB, free: 10.66 MB / 1.01 GB Notification: Performance of sorting global known variables: time 0.0001041/0.1394, allocations: 207 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of sort global known variables: time 8e-08/0.1394, allocations: 4 kB / 1.045 GB, free: 10.46 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003296/0.1397, allocations: 115.8 kB / 1.045 GB, free: 10.34 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.0002015/0.1399, allocations: 159 kB / 1.045 GB, free: 10.18 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0002066/0.1401, allocations: 139 kB / 1.045 GB, free: 10.04 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.1401, allocations: 1.25 kB / 1.045 GB, free: 10.04 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.068e-05/0.1401, allocations: 35.98 kB / 1.046 GB, free: 9.996 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003833/0.1405, allocations: 106.8 kB / 1.046 GB, free: 9.895 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007338/0.1413, allocations: 476.8 kB / 1.046 GB, free: 9.367 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.792e-05/0.1413, allocations: 88.31 kB / 1.046 GB, free: 9.262 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 0.0001253/0.1415, allocations: 66.52 kB / 1.046 GB, free: 9.195 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.318e-05/0.1415, allocations: 24.5 kB / 1.046 GB, free: 9.172 MB / 1.01 GB Notification: Performance of SimCode: time 7.41e-07/0.1415, allocations: 0 / 1.046 GB, free: 9.172 MB / 1.01 GB Notification: Performance of Templates: time 0.005799/0.1473, allocations: 4.029 MB / 1.05 GB, free: 5.246 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.9376508430577815]