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.00184/0.00184, allocations: 101 kB / 20.48 MB, free: 1.477 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.002202/0.002202, allocations: 213.8 kB / 23.79 MB, free: 4.676 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.504/1.504, allocations: 230.6 MB / 257.6 MB, free: 7.996 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 1.003/1.003, allocations: 150 MB / 464 MB, free: 10.48 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.001959/0.001959, allocations: 59.66 kB / 0.642 GB, free: 10.39 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1762/0.1781, allocations: 89.17 MB / 0.7291 GB, free: 1.289 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.6165/0.7947, allocations: 229.4 MB / 0.9531 GB, free: 1.801 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02107/0.8157, allocations: 12.74 MB / 0.9655 GB, free: 5.035 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002697/0.8184, allocations: 95.19 kB / 0.9656 GB, free: 4.941 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.003709/0.8222, allocations: 1.255 MB / 0.9669 GB, free: 3.68 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.008744/0.8309, allocations: 3.33 MB / 0.9701 GB, free: 344 kB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00547/0.8364, allocations: 1.888 MB / 0.972 GB, free: 14.46 MB / 0.7481 GB Notification: Performance of NFFlatten.flatten: time 0.00661/0.843, allocations: 4.224 MB / 0.9761 GB, free: 10.22 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002264/0.8452, allocations: 1.121 MB / 0.9772 GB, free: 9.066 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005115/0.8504, allocations: 2.214 MB / 0.9793 GB, free: 6.852 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002765/0.8531, allocations: 1.474 MB / 0.9808 GB, free: 5.375 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 0.0004962/0.8536, allocations: 180 kB / 0.981 GB, free: 5.199 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005786/0.8594, allocations: 2.865 MB / 0.9838 GB, free: 2.328 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0012/0.8606, allocations: 1.008 MB / 0.9847 GB, free: 1.316 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.002214/0.8628, allocations: 1.45 MB / 0.9862 GB, free: 15.86 MB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.008186/0.871, allocations: 4.827 MB / 0.9909 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 5.76e-06/0.871, allocations: 0 / 0.9909 GB, free: 11.02 MB / 0.7637 GB Notification: Performance of FrontEnd: time 1.854e-06/0.871, allocations: 4 kB / 0.9909 GB, free: 11.01 MB / 0.7637 GB Notification: Performance of Transformations before backend: time 8.276e-05/0.8711, allocations: 0 / 0.9909 GB, free: 11.01 MB / 0.7637 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.007558/0.8787, allocations: 3.401 MB / 0.9942 GB, free: 7.547 MB / 0.7637 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.8787, allocations: 12.03 kB / 0.9942 GB, free: 7.535 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.922e-05/0.8787, allocations: 34.09 kB / 0.9942 GB, free: 7.5 MB / 0.7637 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002339/0.879, allocations: 173 kB / 0.9944 GB, free: 7.32 MB / 0.7637 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005313/0.8843, allocations: 0.8177 MB / 0.9952 GB, free: 6.5 MB / 0.7637 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01064/0.8949, allocations: 6.22 MB / 1.001 GB, free: 224 kB / 0.7637 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002477/0.8952, allocations: 150.3 kB / 1.001 GB, free: 60 kB / 0.7637 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000467/0.8956, allocations: 108 kB / 1.002 GB, free: 15.95 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004108/0.8998, allocations: 2.054 MB / 1.004 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.687e-05/0.8998, allocations: 0 / 1.004 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001528/0.8999, allocations: 48 kB / 1.004 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.9, allocations: 42.02 kB / 1.004 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004931/0.9049, allocations: 2.569 MB / 1.006 GB, free: 11.16 MB / 0.7794 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.01504/0.92, allocations: 9.451 MB / 1.015 GB, free: 1.406 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004225/0.9242, allocations: 1.946 MB / 1.017 GB, free: 15.45 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001905/0.9261, allocations: 0.8936 MB / 1.018 GB, free: 14.55 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007312/0.9268, allocations: 177.5 kB / 1.018 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002044/0.9289, allocations: 1.012 MB / 1.019 GB, free: 13.34 MB / 0.795 GB Notification: Performance of pre-optimization done (n=91): time 2.835e-06/0.9289, allocations: 4 kB / 1.019 GB, free: 13.34 MB / 0.795 GB Notification: Performance of matching and sorting (n=91): time 0.02417/0.953, allocations: 5.639 MB / 1.025 GB, free: 7.664 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.9532, allocations: 153.1 kB / 1.025 GB, free: 7.484 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0131/0.9663, allocations: 8.891 MB / 1.034 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 0.0002566/0.9665, allocations: 49.69 kB / 1.034 GB, free: 14.52 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.001314/0.9678, allocations: 1.111 MB / 1.035 GB, free: 13.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004831/0.9683, allocations: 317.3 kB / 1.035 GB, free: 13.09 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005073/0.9688, allocations: 222.5 kB / 1.035 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001594/0.969, allocations: 345.9 kB / 1.036 GB, free: 12.52 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002173/0.9712, allocations: 1.084 MB / 1.037 GB, free: 11.44 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002353/0.9735, allocations: 1.301 MB / 1.038 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004101/0.9776, allocations: 2.183 MB / 1.04 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.095e-06/0.9776, allocations: 0 / 1.04 GB, free: 7.797 MB / 0.8106 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.009331/0.9869, allocations: 3.692 MB / 1.044 GB, free: 4.074 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001165/0.9871, allocations: 77.83 kB / 1.044 GB, free: 3.988 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.124e-05/0.9871, allocations: 7.938 kB / 1.044 GB, free: 3.98 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005259/0.9923, allocations: 1.985 MB / 1.046 GB, free: 1.984 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00108/0.9934, allocations: 183.7 kB / 1.046 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009914/1.003, allocations: 6.591 MB / 1.052 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002495/1.006, allocations: 242.9 kB / 1.053 GB, free: 10.7 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002245/1.006, allocations: 55.91 kB / 1.053 GB, free: 10.64 MB / 0.8262 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.00127/1.007, allocations: 0.6609 MB / 1.053 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007434/1.008, allocations: 278.2 kB / 1.053 GB, free: 9.688 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008589/1.017, allocations: 3.21 MB / 1.057 GB, free: 6.449 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.648e-05/1.017, allocations: 11.98 kB / 1.057 GB, free: 6.438 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.122e-06/1.017, allocations: 4 kB / 1.057 GB, free: 6.434 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.704e-05/1.017, allocations: 7.922 kB / 1.057 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01425/1.031, allocations: 5.855 MB / 1.062 GB, free: 468 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.116e-05/1.031, allocations: 4 kB / 1.062 GB, free: 464 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007136/1.032, allocations: 103.8 kB / 1.062 GB, free: 360 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004901/1.037, allocations: 1.967 MB / 1.064 GB, free: 14.37 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001628/1.037, allocations: 27.98 kB / 1.064 GB, free: 14.34 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009561/1.046, allocations: 6.534 MB / 1.071 GB, free: 7.527 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.706e-05/1.046, allocations: 4.031 kB / 1.071 GB, free: 7.523 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008561/1.055, allocations: 3.281 MB / 1.074 GB, free: 4.16 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001719/1.057, allocations: 0.5484 MB / 1.075 GB, free: 3.609 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007719/1.057, allocations: 28.25 kB / 1.075 GB, free: 3.582 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002088/1.059, allocations: 131.9 kB / 1.075 GB, free: 3.453 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002191/1.06, allocations: 76.41 kB / 1.075 GB, free: 3.379 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001343/1.06, allocations: 43.97 kB / 1.075 GB, free: 3.336 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.3399/1.4, allocations: 6.834 MB / 1.081 GB, free: 295.6 MB / 0.8419 GB Notification: Performance of sort global known variables: time 2.81e-07/1.4, allocations: 0 / 1.081 GB, free: 295.6 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.002523/1.402, allocations: 0.7375 MB / 1.082 GB, free: 295.6 MB / 0.8419 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.009168/1.411, allocations: 4.204 MB / 1.086 GB, free: 294.7 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.006671/1.418, allocations: 2.538 MB / 1.089 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.249e-05/1.418, allocations: 5.156 kB / 1.089 GB, free: 294.4 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.002962/1.421, allocations: 1.331 MB / 1.09 GB, free: 294 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005127/1.426, allocations: 1.022 MB / 1.091 GB, free: 293.9 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06219/1.488, allocations: 41.51 MB / 1.132 GB, free: 274.2 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000957/1.489, allocations: 1.682 MB / 1.133 GB, free: 272.8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.001711/1.491, allocations: 434.9 kB / 1.134 GB, free: 272.6 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001229/1.492, allocations: 0.9595 MB / 1.135 GB, free: 271.7 MB / 0.8419 GB Notification: Performance of SimCode: time 9.31e-07/1.492, allocations: 1.875 kB / 1.135 GB, free: 271.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.625, allocations: 79.94 MB / 1.213 GB, free: 192.7 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 19.58/21.2, allocations: 12.05 kB / 1.213 GB, free: 192.7 MB / 0.8419 GB " [Timeout remaining time 639] (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.233313432021532] Failed to read output from testmodel.py, exit status != 0: 21.429450753028505 21.450650588 20.575271891 Calling exit ...