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.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001294/0.001294, allocations: 112.3 kB / 17.33 MB, free: 5.008 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001274/0.001274, allocations: 198.6 kB / 18.33 MB, free: 4.016 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.468/1.468, allocations: 225.6 MB / 244.8 MB, free: 13.58 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8369/0.8369, allocations: 128.4 MB / 426.1 MB, free: 7.199 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001961/0.001961, allocations: 67.73 kB / 0.5912 GB, free: 21.46 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1664/0.1683, allocations: 83.25 MB / 0.6725 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.7411/0.9094, allocations: 225.7 MB / 0.8928 GB, free: 10.29 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0252/0.9346, allocations: 12.7 MB / 0.9052 GB, free: 13.57 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004296/0.9389, allocations: 67.62 kB / 0.9053 GB, free: 13.5 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.004404/0.9433, allocations: 1.224 MB / 0.9065 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01201/0.9553, allocations: 3.282 MB / 0.9097 GB, free: 8.98 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.006125/0.9614, allocations: 1.857 MB / 0.9115 GB, free: 7.137 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.008396/0.9698, allocations: 4.175 MB / 0.9156 GB, free: 2.953 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00253/0.9723, allocations: 1.171 MB / 0.9167 GB, free: 1.75 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006564/0.9789, allocations: 2.159 MB / 0.9188 GB, free: 15.59 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00342/0.9823, allocations: 1.467 MB / 0.9203 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004389/0.9828, allocations: 180 kB / 0.9204 GB, free: 13.94 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006898/0.9897, allocations: 2.783 MB / 0.9232 GB, free: 11.15 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001581/0.9912, allocations: 0.9891 MB / 0.9241 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.002593/0.9938, allocations: 1.317 MB / 0.9254 GB, free: 8.832 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.01066/1.004, allocations: 4.422 MB / 0.9297 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 6.242e-06/1.004, allocations: 3.938 kB / 0.9297 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.342e-06/1.004, allocations: 0 / 0.9297 GB, free: 4.391 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 0.0001051/1.005, allocations: 0 / 0.9297 GB, free: 4.391 MB / 0.6856 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.007216/1.012, allocations: 3.16 MB / 0.9328 GB, free: 1.148 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.691e-05/1.012, allocations: 11.97 kB / 0.9328 GB, free: 1.137 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00454/1.016, allocations: 0.8022 MB / 0.9336 GB, free: 340 kB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004587/1.021, allocations: 2.536 MB / 0.9361 GB, free: 13.73 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001532/1.021, allocations: 123.8 kB / 0.9362 GB, free: 13.6 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002007/1.021, allocations: 104 kB / 0.9363 GB, free: 13.5 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003955/1.025, allocations: 2.05 MB / 0.9383 GB, free: 11.38 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/1.025, allocations: 4 kB / 0.9383 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001522/1.025, allocations: 40 kB / 0.9383 GB, free: 11.33 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.167e-05/1.026, allocations: 50.06 kB / 0.9384 GB, free: 11.28 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004624/1.03, allocations: 2.565 MB / 0.9409 GB, free: 8.707 MB / 0.7012 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.01347/1.044, allocations: 8.163 MB / 0.9489 GB, free: 232 kB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004418/1.048, allocations: 2.09 MB / 0.9509 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00197/1.05, allocations: 0.8858 MB / 0.9518 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001296/1.051, allocations: 1.06 MB / 0.9528 GB, free: 11.92 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002106/1.053, allocations: 1.016 MB / 0.9538 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 4.208e-06/1.053, allocations: 0 / 0.9538 GB, free: 10.88 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.025/1.078, allocations: 5.938 MB / 0.9596 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001365/1.079, allocations: 145.2 kB / 0.9597 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008627/1.087, allocations: 3.981 MB / 0.9636 GB, free: 0.6719 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0003826/1.088, allocations: 49.69 kB / 0.9637 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001476/1.089, allocations: 1.016 MB / 0.9647 GB, free: 15.59 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0008025/1.09, allocations: 313.2 kB / 0.965 GB, free: 15.29 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007028/1.091, allocations: 218.5 kB / 0.9652 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000198/1.091, allocations: 345.9 kB / 0.9655 GB, free: 14.72 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00214/1.093, allocations: 1.092 MB / 0.9666 GB, free: 13.63 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002573/1.095, allocations: 1.297 MB / 0.9678 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004167/1.1, allocations: 2.179 MB / 0.97 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.094e-05/1.1, allocations: 0 / 0.97 GB, free: 9.996 MB / 0.7325 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009163/1.109, allocations: 3.677 MB / 0.9736 GB, free: 6.285 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001297/1.109, allocations: 73.89 kB / 0.9736 GB, free: 6.203 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.527e-05/1.109, allocations: 8 kB / 0.9736 GB, free: 6.195 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004941/1.114, allocations: 1.92 MB / 0.9755 GB, free: 4.262 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001061/1.115, allocations: 183.7 kB / 0.9757 GB, free: 4.082 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01002/1.125, allocations: 6.634 MB / 0.9822 GB, free: 13.12 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002859/1.128, allocations: 244.4 kB / 0.9824 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003483/1.128, allocations: 48.08 kB / 0.9824 GB, free: 12.84 MB / 0.7481 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.001686/1.13, allocations: 0.6568 MB / 0.9831 GB, free: 12.16 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009858/1.131, allocations: 258.3 kB / 0.9833 GB, free: 11.9 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008693/1.14, allocations: 3.183 MB / 0.9864 GB, free: 8.684 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.075e-05/1.14, allocations: 12 kB / 0.9865 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.657e-06/1.14, allocations: 0 / 0.9865 GB, free: 8.672 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.332e-05/1.14, allocations: 3.984 kB / 0.9865 GB, free: 8.668 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01449/1.154, allocations: 5.563 MB / 0.9919 GB, free: 2.988 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.8e-05/1.154, allocations: 8.031 kB / 0.9919 GB, free: 2.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000677/1.155, allocations: 108.1 kB / 0.992 GB, free: 2.875 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004753/1.16, allocations: 1.912 MB / 0.9939 GB, free: 0.9492 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001914/1.16, allocations: 27.98 kB / 0.9939 GB, free: 0.9219 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009827/1.17, allocations: 6.588 MB / 1 GB, free: 10 MB / 0.7637 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.17, allocations: 8.047 kB / 1 GB, free: 9.996 MB / 0.7637 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01062/1.18, allocations: 3.249 MB / 1.004 GB, free: 6.672 MB / 0.7637 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002506/1.183, allocations: 0.5223 MB / 1.004 GB, free: 6.129 MB / 0.7637 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001099/1.184, allocations: 20 kB / 1.004 GB, free: 6.109 MB / 0.7637 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002257/1.186, allocations: 116.6 kB / 1.004 GB, free: 5.996 MB / 0.7637 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002499/1.186, allocations: 80.44 kB / 1.004 GB, free: 5.918 MB / 0.7637 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001511/1.186, allocations: 43.97 kB / 1.004 GB, free: 5.875 MB / 0.7637 GB Notification: Performance of sorting global known variables: time 0.005978/1.192, allocations: 2.919 MB / 1.007 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of sort global known variables: time 1.1e-07/1.192, allocations: 0 / 1.007 GB, free: 2.949 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.003663/1.196, allocations: 0.7139 MB / 1.008 GB, free: 2.234 MB / 0.7637 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.001846/1.198, allocations: 0.5084 MB / 1.008 GB, free: 1.723 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.006195/1.204, allocations: 2.526 MB / 1.011 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/1.204, allocations: 4 kB / 1.011 GB, free: 15.14 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.003097/1.207, allocations: 1.336 MB / 1.012 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006437/1.214, allocations: 1.006 MB / 1.013 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01165/1.225, allocations: 4.731 MB / 1.018 GB, free: 7.949 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002295/1.228, allocations: 1.683 MB / 1.019 GB, free: 6.23 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001783/1.229, allocations: 369.7 kB / 1.02 GB, free: 5.867 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005663/1.23, allocations: 143.3 kB / 1.02 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of SimCode: time 1.332e-06/1.23, allocations: 0 / 1.02 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of Templates: time 0.09651/1.326, allocations: 51.61 MB / 1.07 GB, free: 2.629 MB / 0.8262 GB 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]