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 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001191/0.001191, allocations: 106.2 kB / 18.26 MB, free: 3.926 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001181/0.001181, allocations: 185.9 kB / 21.43 MB, free: 0.7695 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.287/1.287, allocations: 225.6 MB / 250.1 MB, free: 13.56 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7543/0.7543, allocations: 128.4 MB / 433.6 MB, free: 6.184 MB / 334.1 MB " [Timeout remaining time 179] 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: "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001752/0.001752, allocations: 63.06 kB / 0.6002 GB, free: 21.71 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1241/0.1258, allocations: 83.26 MB / 0.6815 GB, free: 3.242 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5052/0.631, allocations: 226.3 MB / 0.9026 GB, free: 9.086 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01871/0.6497, allocations: 12.72 MB / 0.915 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002083/0.6518, allocations: 67.62 kB / 0.915 GB, free: 12.27 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002953/0.6548, allocations: 1.239 MB / 0.9163 GB, free: 11.02 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007599/0.6624, allocations: 3.278 MB / 0.9195 GB, free: 7.734 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004425/0.6668, allocations: 1.856 MB / 0.9213 GB, free: 5.895 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00582/0.6726, allocations: 4.169 MB / 0.9253 GB, free: 1.711 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002073/0.6747, allocations: 1.124 MB / 0.9264 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004679/0.6794, allocations: 2.159 MB / 0.9285 GB, free: 14.39 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002456/0.6818, allocations: 1.46 MB / 0.93 GB, free: 12.93 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004344/0.6823, allocations: 184 kB / 0.9301 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005133/0.6874, allocations: 2.775 MB / 0.9329 GB, free: 9.965 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.001049/0.6885, allocations: 1.012 MB / 0.9338 GB, free: 8.949 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001878/0.6903, allocations: 1.442 MB / 0.9353 GB, free: 7.5 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.006662/0.697, allocations: 4.799 MB / 0.9399 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.697, allocations: 0 / 0.9399 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.683e-06/0.697, allocations: 0 / 0.9399 GB, free: 2.684 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.654e-05/0.6971, allocations: 0 / 0.9399 GB, free: 2.684 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.006264/0.7033, allocations: 3.476 MB / 0.9433 GB, free: 15.12 MB / 0.7013 GB Notification: Performance of prepare preOptimizeDAE: time 3.977e-05/0.7034, allocations: 12.03 kB / 0.9433 GB, free: 15.11 MB / 0.7013 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002387/0.7036, allocations: 169 kB / 0.9435 GB, free: 14.94 MB / 0.7013 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004283/0.7079, allocations: 0.8177 MB / 0.9443 GB, free: 14.12 MB / 0.7013 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007443/0.7153, allocations: 6.296 MB / 0.9505 GB, free: 7.754 MB / 0.7013 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001346/0.7155, allocations: 119.8 kB / 0.9506 GB, free: 7.629 MB / 0.7013 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001997/0.7157, allocations: 111.9 kB / 0.9507 GB, free: 7.523 MB / 0.7013 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003567/0.7192, allocations: 2.066 MB / 0.9527 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.37e-05/0.7193, allocations: 0 / 0.9527 GB, free: 5.387 MB / 0.7013 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001278/0.7194, allocations: 44 kB / 0.9527 GB, free: 5.344 MB / 0.7013 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.052e-05/0.7194, allocations: 46.06 kB / 0.9528 GB, free: 5.297 MB / 0.7013 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004635/0.7241, allocations: 2.558 MB / 0.9553 GB, free: 2.73 MB / 0.7013 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.01323/0.7373, allocations: 9.538 MB / 0.9646 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00385/0.7412, allocations: 2.087 MB / 0.9666 GB, free: 6.75 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001735/0.7429, allocations: 0.8935 MB / 0.9675 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001143/0.744, allocations: 1.065 MB / 0.9685 GB, free: 4.562 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001859/0.7459, allocations: 1.016 MB / 0.9695 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=91): time 3.266e-06/0.7459, allocations: 0 / 0.9695 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of matching and sorting (n=91): time 0.02204/0.7679, allocations: 5.952 MB / 0.9753 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000102/0.768, allocations: 153.1 kB / 0.9755 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01153/0.7796, allocations: 8.875 MB / 0.9842 GB, free: 4.395 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001488/0.7797, allocations: 49.69 kB / 0.9842 GB, free: 4.34 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.001066/0.7808, allocations: 1.111 MB / 0.9853 GB, free: 3.219 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003542/0.7811, allocations: 321.3 kB / 0.9856 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004065/0.7815, allocations: 218.5 kB / 0.9858 GB, free: 2.68 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001479/0.7817, allocations: 341.9 kB / 0.9861 GB, free: 2.34 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001937/0.7836, allocations: 1.088 MB / 0.9872 GB, free: 1.254 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002138/0.7858, allocations: 1.305 MB / 0.9885 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003682/0.7894, allocations: 2.182 MB / 0.9906 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.989e-06/0.7895, allocations: 0 / 0.9906 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008093/0.7975, allocations: 3.676 MB / 0.9942 GB, free: 9.898 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 7.36e-05/0.7976, allocations: 75.38 kB / 0.9943 GB, free: 9.812 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.306e-05/0.7976, allocations: 8.312 kB / 0.9943 GB, free: 9.805 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00448/0.8021, allocations: 1.984 MB / 0.9962 GB, free: 7.809 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009399/0.8031, allocations: 179.8 kB / 0.9964 GB, free: 7.633 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009252/0.8123, allocations: 6.796 MB / 1.003 GB, free: 0.5195 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00223/0.8145, allocations: 238.9 kB / 1.003 GB, free: 292 kB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000165/0.8147, allocations: 51.97 kB / 1.003 GB, free: 240 kB / 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.001111/0.8158, allocations: 0.6762 MB / 1.004 GB, free: 15.54 MB / 0.7638 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006685/0.8165, allocations: 278.2 kB / 1.004 GB, free: 15.26 MB / 0.7638 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007621/0.8241, allocations: 3.205 MB / 1.007 GB, free: 12.02 MB / 0.7638 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.802e-05/0.8241, allocations: 12 kB / 1.007 GB, free: 12.01 MB / 0.7638 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.8241, allocations: 3.938 kB / 1.007 GB, free: 12 MB / 0.7638 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.196e-05/0.8241, allocations: 7.922 kB / 1.007 GB, free: 12 MB / 0.7638 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01202/0.8362, allocations: 5.872 MB / 1.013 GB, free: 6 MB / 0.7638 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.026e-06/0.8362, allocations: 4 kB / 1.013 GB, free: 5.996 MB / 0.7638 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006228/0.8368, allocations: 104.2 kB / 1.013 GB, free: 5.895 MB / 0.7638 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004257/0.841, allocations: 1.971 MB / 1.015 GB, free: 3.91 MB / 0.7638 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.215e-05/0.8411, allocations: 31.92 kB / 1.015 GB, free: 3.879 MB / 0.7638 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008638/0.8498, allocations: 6.737 MB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/0.8498, allocations: 11.88 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007518/0.8573, allocations: 3.273 MB / 1.025 GB, free: 9.449 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001219/0.8585, allocations: 0.6237 MB / 1.026 GB, free: 8.805 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005167/0.859, allocations: 24 kB / 1.026 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00175/0.8608, allocations: 127.9 kB / 1.026 GB, free: 8.656 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/0.861, allocations: 80.44 kB / 1.026 GB, free: 8.578 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001108/0.8611, allocations: 39.98 kB / 1.026 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.008263/0.8693, allocations: 6.831 MB / 1.032 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8693, allocations: 0 / 1.032 GB, free: 1.707 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.002172/0.8715, allocations: 0.7295 MB / 1.033 GB, free: 0.9766 MB / 0.7794 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.008918/0.8804, allocations: 4.238 MB / 1.037 GB, free: 12.66 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 0.004859/0.8853, allocations: 2.534 MB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 6.432e-06/0.8853, allocations: 4 kB / 1.04 GB, free: 10.07 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 0.002483/0.8878, allocations: 1.332 MB / 1.041 GB, free: 8.684 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/0.8922, allocations: 1.03 MB / 1.042 GB, free: 7.664 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3069/1.199, allocations: 41.46 MB / 1.083 GB, free: 319.2 MB / 0.8263 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001096/1.2, allocations: 1.687 MB / 1.084 GB, free: 318.5 MB / 0.8263 GB Notification: Performance of simCode: alias equations: time 0.001335/1.201, allocations: 428.2 kB / 1.085 GB, free: 318.4 MB / 0.8263 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009855/1.202, allocations: 0.9572 MB / 1.086 GB, free: 318.4 MB / 0.8263 GB Notification: Performance of SimCode: time 1.693e-06/1.202, allocations: 7.062 kB / 1.086 GB, free: 318.4 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1101/1.313, allocations: 79.27 MB / 1.163 GB, free: 264.2 MB / 0.8263 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.73/17.04, allocations: 8.062 kB / 1.163 GB, free: 264.2 MB / 0.8263 GB " [Timeout remaining time 643] (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource_res.csv --start-time 0 --stop-time 300 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.12 IBPSA_latest_IBPSA_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IBPSA_latest_IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.32601917500142]