Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.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.001014/0.001014, allocations: 88.2 kB / 20.94 MB, free: 3.609 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.001149/0.001149, allocations: 169 kB / 24.25 MB, free: 312 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 1.002/1.002, allocations: 177.1 MB / 204.6 MB, free: 5.273 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.6133/0.6133, allocations: 114.9 MB / 376 MB, free: 7.504 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") translateModel(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.294e-06/2.294e-06, allocations: 0 / 481.5 MB, free: 11.96 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.52e-05/2.749e-05, allocations: 8.828 kB / 481.5 MB, free: 11.95 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal): time 0.05149/0.05151, allocations: 63.57 MB / 0.5323 GB, free: 8.758 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.01767/0.06919, allocations: 15.97 MB / 0.5479 GB, free: 8.746 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.07109, allocations: 91.25 kB / 0.548 GB, free: 8.656 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.001619/0.07271, allocations: 0.7294 MB / 0.5487 GB, free: 7.922 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.004653/0.07736, allocations: 2.463 MB / 0.5511 GB, free: 5.445 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003569/0.08093, allocations: 2.064 MB / 0.5531 GB, free: 3.375 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.004039/0.08497, allocations: 4.172 MB / 0.5572 GB, free: 15.19 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001279/0.08625, allocations: 1.016 MB / 0.5582 GB, free: 14.14 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003355/0.0896, allocations: 2.42 MB / 0.5606 GB, free: 11.73 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0009183/0.09052, allocations: 0.9501 MB / 0.5615 GB, free: 10.78 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001404/0.09066, allocations: 136 kB / 0.5616 GB, free: 10.65 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001982/0.09264, allocations: 1.267 MB / 0.5628 GB, free: 9.379 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002945/0.09294, allocations: 362.5 kB / 0.5632 GB, free: 9.023 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0005864/0.09352, allocations: 0.5495 MB / 0.5637 GB, free: 8.473 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.002436/0.09596, allocations: 1.919 MB / 0.5656 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.927e-06/0.09596, allocations: 0 / 0.5656 GB, free: 6.547 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.263e-06/0.09596, allocations: 0 / 0.5656 GB, free: 6.547 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.917e-05/0.09598, allocations: 0 / 0.5656 GB, free: 6.547 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 215 * Number of variables: 215 Notification: Performance of Generate backend data structure: time 0.002311/0.09829, allocations: 1.914 MB / 0.5675 GB, free: 4.586 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.848e-05/0.09833, allocations: 12.03 kB / 0.5675 GB, free: 4.574 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006257/0.09896, allocations: 274.8 kB / 0.5677 GB, free: 4.305 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00179/0.1007, allocations: 1.288 MB / 0.569 GB, free: 2.965 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.208e-05/0.1008, allocations: 66 kB / 0.5691 GB, free: 2.898 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.1009, allocations: 96 kB / 0.5692 GB, free: 2.805 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00117/0.1021, allocations: 0.8723 MB / 0.57 GB, free: 1.836 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.723e-05/0.1021, allocations: 7.922 kB / 0.57 GB, free: 1.828 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.123e-05/0.1022, allocations: 36 kB / 0.5701 GB, free: 1.793 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.033e-05/0.1022, allocations: 24 kB / 0.5701 GB, free: 1.77 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007257/0.103, allocations: 347.5 kB / 0.5704 GB, free: 1.43 MB / 490.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003998/0.107, allocations: 4.01 MB / 0.5743 GB, free: 13.31 MB / 0.4948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005289/0.1075, allocations: 261.2 kB / 0.5746 GB, free: 13.04 MB / 0.4948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002136/0.1077, allocations: 129.1 kB / 0.5747 GB, free: 12.91 MB / 0.4948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004452/0.1081, allocations: 172.3 kB / 0.5749 GB, free: 12.75 MB / 0.4948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.231e-05/0.1082, allocations: 45.89 kB / 0.5749 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of pre-optimization done (n=53): time 2.004e-06/0.1082, allocations: 0 / 0.5749 GB, free: 12.69 MB / 0.4948 GB Notification: Performance of matching and sorting (n=53): time 0.001511/0.1097, allocations: 0.6442 MB / 0.5755 GB, free: 12.04 MB / 0.4948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.413e-05/0.1097, allocations: 55.91 kB / 0.5756 GB, free: 11.97 MB / 0.4948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009919/0.1107, allocations: 0.9061 MB / 0.5765 GB, free: 11.05 MB / 0.4948 GB Notification: Performance of collectPreVariables (initialization): time 4.37e-05/0.1108, allocations: 37.7 kB / 0.5765 GB, free: 11.01 MB / 0.4948 GB Notification: Performance of collectInitialEqns (initialization): time 0.000431/0.1112, allocations: 0.6593 MB / 0.5772 GB, free: 10.34 MB / 0.4948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001414/0.1113, allocations: 194.3 kB / 0.5773 GB, free: 10.15 MB / 0.4948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001893/0.1115, allocations: 164.2 kB / 0.5775 GB, free: 9.977 MB / 0.4948 GB Notification: Performance of setup shared object (initialization): time 0.000146/0.1117, allocations: 0.5004 MB / 0.578 GB, free: 9.469 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002088/0.1119, allocations: 111.6 kB / 0.5781 GB, free: 9.355 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004376/0.1123, allocations: 0.5532 MB / 0.5786 GB, free: 8.633 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006777/0.113, allocations: 0.5923 MB / 0.5792 GB, free: 7.891 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.849e-06/0.113, allocations: 4 kB / 0.5792 GB, free: 7.887 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization): time 0.001256/0.1143, allocations: 0.7148 MB / 0.5799 GB, free: 7.164 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.915e-05/0.1143, allocations: 11.25 kB / 0.5799 GB, free: 7.156 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.941e-05/0.1143, allocations: 16 kB / 0.5799 GB, free: 7.141 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005166/0.1148, allocations: 135.5 kB / 0.5801 GB, free: 7.004 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003722/0.1152, allocations: 159.7 kB / 0.5802 GB, free: 6.848 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004445/0.1156, allocations: 0.835 MB / 0.581 GB, free: 5.98 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004103/0.116, allocations: 71.52 kB / 0.5811 GB, free: 5.91 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.303e-05/0.1161, allocations: 39.98 kB / 0.5811 GB, free: 5.871 MB / 0.4948 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.0003522/0.1165, allocations: 240.8 kB / 0.5814 GB, free: 5.633 MB / 0.4948 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0004341/0.1169, allocations: 0.5487 MB / 0.5819 GB, free: 4.91 MB / 0.4948 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0006614/0.1175, allocations: 0.5962 MB / 0.5825 GB, free: 4.164 MB / 0.4948 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 5.34e-06/0.1176, allocations: 4 kB / 0.5825 GB, free: 4.16 MB / 0.4948 GB Notification: Performance of matching and sorting (n=93) (initialization_lambda0): time 0.001205/0.1188, allocations: 0.7112 MB / 0.5832 GB, free: 3.438 MB / 0.4948 GB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.1188, allocations: 12 kB / 0.5832 GB, free: 3.426 MB / 0.4948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.657e-05/0.1188, allocations: 15.97 kB / 0.5832 GB, free: 3.41 MB / 0.4948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004266/0.1192, allocations: 136 kB / 0.5833 GB, free: 3.273 MB / 0.4948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000361/0.1196, allocations: 155.7 kB / 0.5835 GB, free: 3.121 MB / 0.4948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003771/0.12, allocations: 0.8312 MB / 0.5843 GB, free: 2.258 MB / 0.4948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003864/0.1203, allocations: 67.64 kB / 0.5844 GB, free: 2.191 MB / 0.4948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.898e-05/0.1204, allocations: 39.98 kB / 0.5844 GB, free: 2.152 MB / 0.4948 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (88): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of prepare postOptimizeDAE: time 0.0001777/0.1206, allocations: 327.7 kB / 0.5847 GB, free: 1.824 MB / 0.4948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001835/0.1208, allocations: 127.2 kB / 0.5848 GB, free: 1.699 MB / 0.4948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/0.1221, allocations: 0.8108 MB / 0.5856 GB, free: 0.8984 MB / 0.4948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.134e-05/0.1222, allocations: 20.02 kB / 0.5856 GB, free: 0.8789 MB / 0.4948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.529e-06/0.1222, allocations: 3.938 kB / 0.5857 GB, free: 0.875 MB / 0.4948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008256/0.123, allocations: 0.5565 MB / 0.5862 GB, free: 292 kB / 0.4948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002262/0.1253, allocations: 1.606 MB / 0.5878 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-05/0.1253, allocations: 4 kB / 0.5878 GB, free: 14.62 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002915/0.1256, allocations: 103.8 kB / 0.5879 GB, free: 14.52 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002716/0.1258, allocations: 91.73 kB / 0.588 GB, free: 14.43 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.702e-05/0.1259, allocations: 19.98 kB / 0.588 GB, free: 14.41 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003646/0.1262, allocations: 0.8273 MB / 0.5888 GB, free: 13.55 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.717e-06/0.1262, allocations: 7.938 kB / 0.5888 GB, free: 13.54 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001356/0.1276, allocations: 0.954 MB / 0.5897 GB, free: 12.55 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003092/0.1279, allocations: 223 kB / 0.5899 GB, free: 12.33 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000101/0.128, allocations: 12 kB / 0.5899 GB, free: 12.32 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003398/0.1283, allocations: 19.98 kB / 0.59 GB, free: 12.3 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.1284, allocations: 60.48 kB / 0.59 GB, free: 12.24 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.033e-05/0.1285, allocations: 31.98 kB / 0.5901 GB, free: 12.21 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 0.0006105/0.1291, allocations: 0.559 MB / 0.5906 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of sort global known variables: time 1.01e-07/0.1291, allocations: 0 / 0.5906 GB, free: 11.64 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.001549/0.1307, allocations: 0.7442 MB / 0.5913 GB, free: 10.89 MB / 0.5105 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 4 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U) * 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 (65): * Single equations (assignments): 50 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 14 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0007623/0.1314, allocations: 0.5269 MB / 0.5918 GB, free: 10.36 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.001181/0.1326, allocations: 0.8009 MB / 0.5926 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1326, allocations: 0 / 0.5926 GB, free: 9.535 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0003795/0.133, allocations: 314 kB / 0.5929 GB, free: 9.215 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001692/0.1347, allocations: 0.5631 MB / 0.5935 GB, free: 8.676 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002807/0.1375, allocations: 1.959 MB / 0.5954 GB, free: 6.656 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001897/0.1377, allocations: 242.5 kB / 0.5956 GB, free: 6.395 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 0.0007147/0.1384, allocations: 296.9 kB / 0.5959 GB, free: 6.125 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001869/0.1386, allocations: 108.5 kB / 0.596 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of SimCode: time 1.443e-06/0.1386, allocations: 0 / 0.596 GB, free: 6.02 MB / 0.5105 GB Notification: Performance of Templates: time 0.02966/0.1682, allocations: 27.04 MB / 0.6224 GB, free: 11.56 MB / 0.5417 GB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal -abortSlowSimulation -alarm=240 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Validation.PlugFlowPipes.FlowReversal.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.396371524082497]