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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) 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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00144/0.00144, allocations: 111 kB / 16.41 MB, free: 6.496 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.001388/0.001388, allocations: 189.2 kB / 17.34 MB, free: 5.762 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.455/1.455, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8463/0.8463, allocations: 126.7 MB / 417.9 MB, free: 12.27 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00191/0.00191, allocations: 63.5 kB / 0.5735 GB, free: 27.22 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1318/0.1337, allocations: 78.86 MB / 0.6505 GB, free: 3.73 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.5508/0.6845, allocations: 224.7 MB / 0.87 GB, free: 2.531 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02097/0.7055, allocations: 12.67 MB / 0.8824 GB, free: 5.832 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00285/0.7084, allocations: 67.62 kB / 0.8825 GB, free: 5.766 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003827/0.7123, allocations: 1.196 MB / 0.8836 GB, free: 4.566 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.009304/0.7217, allocations: 3.149 MB / 0.8867 GB, free: 1.406 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005342/0.727, allocations: 1.82 MB / 0.8885 GB, free: 15.6 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.00674/0.7338, allocations: 4.173 MB / 0.8926 GB, free: 11.41 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002484/0.7363, allocations: 1.41 MB / 0.8939 GB, free: 9.977 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005236/0.7416, allocations: 2.118 MB / 0.896 GB, free: 7.855 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002745/0.7443, allocations: 1.377 MB / 0.8973 GB, free: 6.473 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005127/0.7449, allocations: 180 kB / 0.8975 GB, free: 6.297 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00583/0.7507, allocations: 2.67 MB / 0.9001 GB, free: 3.621 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.001316/0.7521, allocations: 0.9892 MB / 0.9011 GB, free: 2.629 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.002153/0.7542, allocations: 1.438 MB / 0.9025 GB, free: 1.184 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.008496/0.7627, allocations: 4.805 MB / 0.9072 GB, free: 12.36 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.7628, allocations: 0 / 0.9072 GB, free: 12.36 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.974e-06/0.7628, allocations: 0 / 0.9072 GB, free: 12.36 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.075e-05/0.7629, allocations: 3.938 kB / 0.9072 GB, free: 12.36 MB / 0.67 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.007582/0.7705, allocations: 3.469 MB / 0.9106 GB, free: 8.809 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.759e-05/0.7705, allocations: 12.03 kB / 0.9106 GB, free: 8.797 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002529/0.7708, allocations: 170.1 kB / 0.9108 GB, free: 8.621 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004706/0.7755, allocations: 0.8138 MB / 0.9115 GB, free: 7.805 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009889/0.7854, allocations: 6.307 MB / 0.9177 GB, free: 1.43 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002054/0.7857, allocations: 119.8 kB / 0.9178 GB, free: 1.305 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002862/0.786, allocations: 116 kB / 0.9179 GB, free: 1.191 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004026/0.79, allocations: 2.046 MB / 0.9199 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.7901, allocations: 0 / 0.9199 GB, free: 15.07 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001594/0.7902, allocations: 48 kB / 0.92 GB, free: 15.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.087e-05/0.7903, allocations: 42.08 kB / 0.92 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005111/0.7954, allocations: 2.565 MB / 0.9225 GB, free: 12.41 MB / 0.6856 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.01583/0.8113, allocations: 9.531 MB / 0.9318 GB, free: 2.57 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004223/0.8156, allocations: 2.164 MB / 0.9339 GB, free: 372 kB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001923/0.8175, allocations: 0.9447 MB / 0.9349 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001238/0.8188, allocations: 1.065 MB / 0.9359 GB, free: 14.12 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002026/0.8208, allocations: 1.016 MB / 0.9369 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=91): time 2.975e-06/0.8208, allocations: 0 / 0.9369 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=91): time 0.0241/0.8449, allocations: 5.971 MB / 0.9427 GB, free: 7.008 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001157/0.8451, allocations: 149.1 kB / 0.9429 GB, free: 6.828 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.01248/0.8576, allocations: 8.875 MB / 0.9515 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002593/0.8579, allocations: 45.7 kB / 0.9516 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.001209/0.8591, allocations: 1.115 MB / 0.9527 GB, free: 12.76 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004272/0.8595, allocations: 317.3 kB / 0.953 GB, free: 12.45 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004497/0.86, allocations: 218.5 kB / 0.9532 GB, free: 12.23 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8602, allocations: 341.9 kB / 0.9535 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002143/0.8623, allocations: 1.088 MB / 0.9546 GB, free: 10.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002314/0.8646, allocations: 1.305 MB / 0.9558 GB, free: 9.426 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004051/0.8687, allocations: 2.182 MB / 0.958 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.165e-06/0.8687, allocations: 0 / 0.958 GB, free: 7.156 MB / 0.7169 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.008981/0.8777, allocations: 3.708 MB / 0.9616 GB, free: 3.414 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.919e-05/0.8778, allocations: 69.8 kB / 0.9617 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.586e-05/0.8779, allocations: 12 kB / 0.9617 GB, free: 3.324 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004951/0.8828, allocations: 1.979 MB / 0.9636 GB, free: 1.332 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001058/0.8839, allocations: 187.7 kB / 0.9638 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009834/0.8938, allocations: 6.79 MB / 0.9704 GB, free: 10.03 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002402/0.8962, allocations: 239 kB / 0.9706 GB, free: 9.793 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001483/0.8964, allocations: 47.98 kB / 0.9707 GB, free: 9.746 MB / 0.7325 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.001132/0.8975, allocations: 0.6646 MB / 0.9713 GB, free: 9.059 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005389/0.8981, allocations: 282.2 kB / 0.9716 GB, free: 8.781 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008219/0.9063, allocations: 3.217 MB / 0.9747 GB, free: 5.527 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.431e-05/0.9063, allocations: 15.98 kB / 0.9748 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.077e-06/0.9063, allocations: 0 / 0.9748 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.643e-05/0.9064, allocations: 3.984 kB / 0.9748 GB, free: 5.508 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01318/0.9195, allocations: 5.906 MB / 0.9805 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.247e-06/0.9196, allocations: 0 / 0.9805 GB, free: 15.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006896/0.9203, allocations: 100.2 kB / 0.9806 GB, free: 15.38 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004709/0.925, allocations: 1.971 MB / 0.9826 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001515/0.9252, allocations: 31.98 kB / 0.9826 GB, free: 13.37 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.009588/0.9348, allocations: 6.734 MB / 0.9892 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.771e-06/0.9348, allocations: 4 kB / 0.9892 GB, free: 6.301 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008491/0.9433, allocations: 3.285 MB / 0.9924 GB, free: 2.938 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00161/0.945, allocations: 0.6201 MB / 0.993 GB, free: 2.297 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006186/0.9456, allocations: 35.92 kB / 0.993 GB, free: 2.262 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00186/0.9475, allocations: 125.2 kB / 0.9931 GB, free: 2.141 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002222/0.9477, allocations: 72.56 kB / 0.9932 GB, free: 2.07 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001272/0.9479, allocations: 47.91 kB / 0.9932 GB, free: 2.023 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.008579/0.9564, allocations: 6.831 MB / 0.9999 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of sort global known variables: time 4.61e-07/0.9565, allocations: 0 / 0.9999 GB, free: 11.19 MB / 0.7637 GB Notification: Performance of remove unused functions: time 0.002801/0.9593, allocations: 0.7373 MB / 1.001 GB, free: 10.45 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.01002/0.9693, allocations: 4.245 MB / 1.005 GB, free: 6.121 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.005822/0.9752, allocations: 2.651 MB / 1.007 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 8.126e-06/0.9752, allocations: 0 / 1.007 GB, free: 3.422 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.002914/0.9782, allocations: 1.422 MB / 1.009 GB, free: 1.949 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00537/0.9835, allocations: 1.023 MB / 1.01 GB, free: 0.9375 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06924/1.053, allocations: 41.5 MB / 1.05 GB, free: 7.016 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001577/1.054, allocations: 1.684 MB / 1.052 GB, free: 5.301 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.001673/1.056, allocations: 438.9 kB / 1.052 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001482/1.058, allocations: 0.9523 MB / 1.053 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of SimCode: time 9.31e-07/1.058, allocations: 0 / 1.053 GB, free: 3.914 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4334/1.491, allocations: 78.39 MB / 1.13 GB, free: 273.5 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.57/19.06, allocations: 10.8 kB / 1.13 GB, free: 273.5 MB / 0.8106 GB (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)