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.001411/0.001411, allocations: 101.9 kB / 20.48 MB, free: 1.383 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.001454/0.001454, allocations: 216.5 kB / 23.78 MB, free: 4.555 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.467/1.467, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.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.9483/0.9483, allocations: 150 MB / 463.9 MB, free: 10.29 MB / 366.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: "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00307/0.00307, allocations: 64.91 kB / 0.6419 GB, free: 9.98 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1802/0.1832, allocations: 89.18 MB / 0.729 GB, free: 0.875 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6006/0.7838, allocations: 199.6 MB / 0.924 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02045/0.8042, allocations: 11.8 MB / 0.9355 GB, free: 1.418 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002761/0.807, allocations: 91.25 kB / 0.9356 GB, free: 1.328 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.003379/0.8104, allocations: 1.169 MB / 0.9368 GB, free: 156 kB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.008273/0.8186, allocations: 3.309 MB / 0.94 GB, free: 12.83 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004878/0.8235, allocations: 1.855 MB / 0.9418 GB, free: 10.99 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.006177/0.8297, allocations: 4.222 MB / 0.9459 GB, free: 6.754 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002199/0.8319, allocations: 1.125 MB / 0.947 GB, free: 5.594 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005178/0.8371, allocations: 2.222 MB / 0.9492 GB, free: 3.371 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.8399, allocations: 1.468 MB / 0.9506 GB, free: 1.902 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0005947/0.8405, allocations: 180 kB / 0.9508 GB, free: 1.727 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005264/0.8458, allocations: 2.335 MB / 0.9531 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001367/0.8472, allocations: 1.012 MB / 0.9541 GB, free: 14.37 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.002342/0.8495, allocations: 1.158 MB / 0.9552 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.008901/0.8584, allocations: 4.792 MB / 0.9599 GB, free: 8.398 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.813e-06/0.8584, allocations: 4 kB / 0.9599 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.744e-06/0.8584, allocations: 0 / 0.9599 GB, free: 8.395 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001354/0.8585, allocations: 0 / 0.9599 GB, free: 8.395 MB / 0.7325 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.01045/0.869, allocations: 3.401 MB / 0.9632 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.315e-05/0.869, allocations: 8.031 kB / 0.9632 GB, free: 4.922 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.346e-05/0.8691, allocations: 26.09 kB / 0.9632 GB, free: 4.895 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004373/0.8695, allocations: 176.9 kB / 0.9634 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005389/0.8749, allocations: 0.8216 MB / 0.9642 GB, free: 3.887 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009346/0.8843, allocations: 6.228 MB / 0.9703 GB, free: 13.6 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001938/0.8845, allocations: 145.5 kB / 0.9704 GB, free: 13.44 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003697/0.8848, allocations: 112 kB / 0.9705 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00452/0.8894, allocations: 2.245 MB / 0.9727 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.961e-05/0.8894, allocations: 3.938 kB / 0.9727 GB, free: 10.97 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001671/0.8896, allocations: 48 kB / 0.9728 GB, free: 10.92 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.804e-05/0.8896, allocations: 38.08 kB / 0.9728 GB, free: 10.88 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005175/0.8948, allocations: 2.627 MB / 0.9754 GB, free: 8.234 MB / 0.7481 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.01494/0.9097, allocations: 8.138 MB / 0.9833 GB, free: 15.98 MB / 0.7637 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004384/0.9141, allocations: 2.008 MB / 0.9853 GB, free: 13.95 MB / 0.7637 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001987/0.9161, allocations: 0.9438 MB / 0.9862 GB, free: 12.99 MB / 0.7637 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007486/0.9169, allocations: 180.4 kB / 0.9864 GB, free: 12.82 MB / 0.7637 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002193/0.919, allocations: 1.179 MB / 0.9875 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of pre-optimization done (n=91): time 3.737e-06/0.919, allocations: 0 / 0.9875 GB, free: 11.57 MB / 0.7637 GB Notification: Performance of matching and sorting (n=91): time 0.0255/0.9445, allocations: 5.783 MB / 0.9932 GB, free: 5.73 MB / 0.7637 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001198/0.9447, allocations: 149.1 kB / 0.9933 GB, free: 5.555 MB / 0.7637 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01276/0.9574, allocations: 8.891 MB / 1.002 GB, free: 12.64 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 0.0002471/0.9577, allocations: 45.7 kB / 1.002 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.001288/0.959, allocations: 1.119 MB / 1.003 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004764/0.9594, allocations: 309.2 kB / 1.003 GB, free: 11.16 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000562/0.96, allocations: 222.5 kB / 1.004 GB, free: 10.94 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001636/0.9602, allocations: 345.9 kB / 1.004 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00223/0.9624, allocations: 1.153 MB / 1.005 GB, free: 9.434 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002569/0.965, allocations: 1.6 MB / 1.007 GB, free: 7.695 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004069/0.969, allocations: 2.183 MB / 1.009 GB, free: 5.422 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.141e-05/0.969, allocations: 4 kB / 1.009 GB, free: 5.418 MB / 0.7794 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009271/0.9783, allocations: 3.759 MB / 1.012 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.075e-05/0.9784, allocations: 71.39 kB / 1.013 GB, free: 1.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.906e-05/0.9784, allocations: 11.92 kB / 1.013 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005058/0.9835, allocations: 1.981 MB / 1.014 GB, free: 15.53 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001068/0.9845, allocations: 187.8 kB / 1.015 GB, free: 15.35 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009875/0.9944, allocations: 6.552 MB / 1.021 GB, free: 8.516 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002616/0.997, allocations: 246.9 kB / 1.021 GB, free: 8.273 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003243/0.9974, allocations: 47.98 kB / 1.021 GB, free: 8.227 MB / 0.795 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.001436/0.9988, allocations: 0.6648 MB / 1.022 GB, free: 7.539 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000907/0.9997, allocations: 278.2 kB / 1.022 GB, free: 7.266 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008822/1.009, allocations: 3.278 MB / 1.025 GB, free: 3.949 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.894e-05/1.009, allocations: 8 kB / 1.025 GB, free: 3.941 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/1.009, allocations: 4 kB / 1.025 GB, free: 3.938 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.828e-05/1.009, allocations: 7.922 kB / 1.025 GB, free: 3.93 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01485/1.023, allocations: 5.531 MB / 1.031 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.597e-05/1.023, allocations: 4 kB / 1.031 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006859/1.024, allocations: 100.2 kB / 1.031 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004782/1.029, allocations: 1.975 MB / 1.033 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001518/1.029, allocations: 23.98 kB / 1.033 GB, free: 12.16 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009565/1.039, allocations: 6.495 MB / 1.039 GB, free: 5.383 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.874e-06/1.039, allocations: 7.938 kB / 1.039 GB, free: 5.375 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008654/1.047, allocations: 3.355 MB / 1.043 GB, free: 1.926 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001657/1.049, allocations: 0.5601 MB / 1.043 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007678/1.05, allocations: 24 kB / 1.043 GB, free: 1.34 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002092/1.052, allocations: 127.9 kB / 1.043 GB, free: 1.215 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002124/1.052, allocations: 80.41 kB / 1.043 GB, free: 1.137 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001357/1.052, allocations: 39.97 kB / 1.043 GB, free: 1.098 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.008777/1.061, allocations: 6.835 MB / 1.05 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.41e-07/1.061, allocations: 0 / 1.05 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.002733/1.064, allocations: 0.7412 MB / 1.051 GB, free: 9.516 MB / 0.8262 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.009949/1.074, allocations: 4.27 MB / 1.055 GB, free: 5.152 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.005526/1.079, allocations: 2.669 MB / 1.058 GB, free: 2.41 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 9.077e-06/1.079, allocations: 4 kB / 1.058 GB, free: 2.406 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.002799/1.082, allocations: 1.409 MB / 1.059 GB, free: 0.9375 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006036/1.088, allocations: 1.022 MB / 1.06 GB, free: 15.94 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3908/1.479, allocations: 41.82 MB / 1.101 GB, free: 308.8 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001473/1.48, allocations: 1.109 MB / 1.102 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 0.001706/1.482, allocations: 427.3 kB / 1.102 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001287/1.483, allocations: 0.9568 MB / 1.103 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of SimCode: time 1.022e-06/1.483, allocations: 3.531 kB / 1.103 GB, free: 308.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1191/1.602, allocations: 79.97 MB / 1.181 GB, free: 252.6 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.69/21.29, allocations: 13.66 kB / 1.181 GB, free: 252.6 MB / 0.8575 GB " [Timeout remaining time 638] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 25.306945306016132] Failed to read output from testmodel.py, exit status != 0: 21.523692919057794 21.532471425 20.671480766 Calling exit ...