Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.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.001318/0.001318, allocations: 85.06 kB / 19.94 MB, free: 1.777 MB / 14.72 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.001323/0.001323, allocations: 162.9 kB / 23.22 MB, free: 4.902 MB / 14.72 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.396/1.396, allocations: 177.1 MB / 203.5 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] 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.8966/0.8966, allocations: 114 MB / 373.9 MB, free: 13.26 MB / 350.1 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.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.823e-06/1.823e-06, allocations: 0 / 0.5547 GB, free: 2.66 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.308e-05/3.491e-05, allocations: 5.094 kB / 0.5547 GB, free: 2.656 MB / 462.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5429/0.543, allocations: 199.4 MB / 0.7494 GB, free: 5.863 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01587/0.5588, allocations: 11.81 MB / 0.7609 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003155/0.562, allocations: 91.84 kB / 0.761 GB, free: 5.562 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.003163/0.5652, allocations: 1.175 MB / 0.7621 GB, free: 5.461 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007965/0.5731, allocations: 3.363 MB / 0.7654 GB, free: 4.887 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004441/0.5776, allocations: 1.909 MB / 0.7673 GB, free: 4.777 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005742/0.5833, allocations: 4.244 MB / 0.7714 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001388/0.5847, allocations: 1.068 MB / 0.7725 GB, free: 2.926 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004809/0.5895, allocations: 2.751 MB / 0.7752 GB, free: 1.91 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001731/0.5912, allocations: 1.245 MB / 0.7764 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002501/0.5915, allocations: 179.3 kB / 0.7766 GB, free: 1.617 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004032/0.5955, allocations: 2.312 MB / 0.7788 GB, free: 1.094 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0006697/0.5962, allocations: 1.029 MB / 0.7798 GB, free: 0.5391 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0009273/0.5971, allocations: 0.8781 MB / 0.7807 GB, free: 140 kB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006296/0.6034, allocations: 4.47 MB / 0.785 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.5e-06/0.6034, allocations: 1.031 kB / 0.785 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.363e-06/0.6034, allocations: 0 / 0.785 GB, free: 13.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.453e-05/0.6035, allocations: 0 / 0.785 GB, free: 13.5 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 281 * Number of variables: 281 Notification: Performance of Generate backend data structure: time 0.005357/0.6088, allocations: 3.057 MB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.6089, allocations: 9.25 kB / 0.788 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004397/0.6132, allocations: 0.8019 MB / 0.7888 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004164/0.6174, allocations: 2.468 MB / 0.7912 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000151/0.6176, allocations: 141.7 kB / 0.7914 GB, free: 9.324 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001672/0.6177, allocations: 115.7 kB / 0.7915 GB, free: 9.285 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003548/0.6213, allocations: 2.244 MB / 0.7937 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.634e-05/0.6213, allocations: 5.719 kB / 0.7937 GB, free: 7.934 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001369/0.6214, allocations: 47.12 kB / 0.7937 GB, free: 7.898 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.726e-05/0.6215, allocations: 45.36 kB / 0.7938 GB, free: 7.891 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004523/0.626, allocations: 2.616 MB / 0.7963 GB, free: 6.414 MB / 0.6075 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.01147/0.6375, allocations: 6.605 MB / 0.8028 GB, free: 15.82 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00411/0.6416, allocations: 2.007 MB / 0.8047 GB, free: 13.8 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001888/0.6435, allocations: 0.9406 MB / 0.8056 GB, free: 12.84 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007159/0.6442, allocations: 176.5 kB / 0.8058 GB, free: 12.67 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002118/0.6463, allocations: 1.181 MB / 0.807 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=91): time 2.935e-06/0.6463, allocations: 4 kB / 0.807 GB, free: 11.43 MB / 0.6231 GB Notification: Performance of matching and sorting (n=91): time 0.02341/0.6697, allocations: 5.74 MB / 0.8126 GB, free: 5.648 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000104/0.6698, allocations: 145.2 kB / 0.8127 GB, free: 5.473 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005592/0.6754, allocations: 3.698 MB / 0.8163 GB, free: 1.75 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0002509/0.6757, allocations: 49.7 kB / 0.8164 GB, free: 1.695 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009803/0.6767, allocations: 1.026 MB / 0.8174 GB, free: 0.6641 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.000342/0.677, allocations: 310.8 kB / 0.8177 GB, free: 376 kB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004018/0.6774, allocations: 222.5 kB / 0.8179 GB, free: 148 kB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.6776, allocations: 345.9 kB / 0.8182 GB, free: 15.8 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002086/0.6797, allocations: 1.152 MB / 0.8193 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002444/0.6821, allocations: 1.595 MB / 0.8209 GB, free: 12.9 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003933/0.686, allocations: 2.182 MB / 0.823 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.686, allocations: 0 / 0.823 GB, free: 10.65 MB / 0.6387 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008664/0.6947, allocations: 3.717 MB / 0.8267 GB, free: 6.918 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 8.655e-05/0.6948, allocations: 83.31 kB / 0.8267 GB, free: 6.824 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.469e-05/0.6948, allocations: 11.92 kB / 0.8267 GB, free: 6.812 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00459/0.6994, allocations: 1.921 MB / 0.8286 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009689/0.7004, allocations: 186.1 kB / 0.8288 GB, free: 4.711 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009034/0.7094, allocations: 6.361 MB / 0.835 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002105/0.7115, allocations: 198.2 kB / 0.8352 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/0.7116, allocations: 51.97 kB / 0.8352 GB, free: 13.87 MB / 0.6544 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 17 (THotIn_set.nextEventScaled,THotIn_set.nextEvent,$PRE.THotIn_set.nextEvent,THotIn_set.last,THotIn_set.b,THotIn_set.a,mHot_flow_set.nextEventScaled,mHot_flow_set.nextEvent,$PRE.mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.b,mHot_flow_set.a,orc.cyc.hys.y,$PRE.orc.cyc.hys.y,orc.on_actual,$whenCondition2,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (86): * Single equations (assignments): 79 * Array equations: 1 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of prepare postOptimizeDAE: time 0.001112/0.7128, allocations: 0.6508 MB / 0.8359 GB, free: 13.21 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004585/0.7132, allocations: 238.5 kB / 0.8361 GB, free: 12.98 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008013/0.7212, allocations: 3.226 MB / 0.8393 GB, free: 9.723 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.548e-05/0.7212, allocations: 14.47 kB / 0.8393 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.7212, allocations: 0 / 0.8393 GB, free: 9.711 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.256e-05/0.7213, allocations: 3.984 kB / 0.8393 GB, free: 9.707 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01182/0.7331, allocations: 5.168 MB / 0.8443 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.167e-05/0.7331, allocations: 352 / 0.8443 GB, free: 4.469 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006994/0.7338, allocations: 102.5 kB / 0.8444 GB, free: 4.371 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004461/0.7383, allocations: 1.915 MB / 0.8463 GB, free: 2.445 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/0.7384, allocations: 31.98 kB / 0.8463 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008981/0.7474, allocations: 6.298 MB / 0.8525 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.74e-06/0.7474, allocations: 6.625 kB / 0.8525 GB, free: 11.88 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008317/0.7557, allocations: 3.287 MB / 0.8557 GB, free: 8.512 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001366/0.7571, allocations: 424.4 kB / 0.8561 GB, free: 8.098 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003555/0.7574, allocations: 28 kB / 0.8561 GB, free: 8.07 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00142/0.7588, allocations: 111.9 kB / 0.8562 GB, free: 7.961 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002035/0.759, allocations: 75 kB / 0.8563 GB, free: 7.891 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001103/0.7591, allocations: 48.22 kB / 0.8563 GB, free: 7.844 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.003725/0.7629, allocations: 2.717 MB / 0.859 GB, free: 5.113 MB / 0.67 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7629, allocations: 0 / 0.859 GB, free: 5.113 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.002104/0.765, allocations: 0.737 MB / 0.8597 GB, free: 4.375 MB / 0.67 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 14 ($whenCondition1,$whenCondition2,orc.on_actual,orc.cyc.hys.y,mHot_flow_set.a,mHot_flow_set.b,mHot_flow_set.last,mHot_flow_set.nextEvent,mHot_flow_set.nextEventScaled,THotIn_set.a,THotIn_set.b,THotIn_set.last,THotIn_set.nextEvent,THotIn_set.nextEventScaled) * Number of discrete states: 13 (THotIn_set.nextEvent,THotIn_set.last,THotIn_set.nextEventScaled,THotIn_set.b,THotIn_set.a,$whenCondition2,mHot_flow_set.nextEvent,mHot_flow_set.last,mHot_flow_set.nextEventScaled,mHot_flow_set.b,mHot_flow_set.a,$whenCondition1,orc.cyc.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (48): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 5 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,4), (1,4), (4,26)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001023/0.766, allocations: 0.5157 MB / 0.8602 GB, free: 3.887 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.005208/0.7712, allocations: 2.672 MB / 0.8628 GB, free: 1.16 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.7712, allocations: 0 / 0.8628 GB, free: 1.16 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.002673/0.7739, allocations: 1.397 MB / 0.8642 GB, free: 15.71 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003409/0.7773, allocations: 0.7842 MB / 0.865 GB, free: 14.95 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008835/0.7861, allocations: 4.721 MB / 0.8696 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001365/0.7875, allocations: 1.11 MB / 0.8707 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001302/0.7888, allocations: 334 kB / 0.871 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003509/0.7891, allocations: 128.5 kB / 0.8711 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of SimCode: time 1.482e-06/0.7891, allocations: 0 / 0.8711 GB, free: 8.566 MB / 0.6856 GB Notification: Performance of Templates: time 0.07428/0.8634, allocations: 43.75 MB / 0.9138 GB, free: 13.83 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.5086750239133835] Failed to read output from testmodel.py, exit status != 0: 0.8723491616547108 0.8858082 0.279339531 Calling exit ...