Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.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.001155/0.001155, allocations: 109.9 kB / 18.93 MB, free: 1.27 MB / 13.93 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.0008176/0.0008176, allocations: 217.7 kB / 22.26 MB, free: 3.703 MB / 13.93 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 0.9894/0.9894, allocations: 230.6 MB / 256 MB, free: 9.812 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.802/0.802, allocations: 203.8 MB / 0.5042 GB, free: 10.76 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 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(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001038/0.001038, allocations: 64.16 kB / 0.7182 GB, free: 4.359 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5503/0.5513, allocations: 102 MB / 0.8179 GB, free: 1.266 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.21/0.7613, allocations: 229.4 MB / 1.042 GB, free: 15.85 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01743/0.7787, allocations: 12.75 MB / 1.054 GB, free: 3.07 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002933/0.7817, allocations: 95.19 kB / 1.054 GB, free: 2.977 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.003277/0.785, allocations: 1.259 MB / 1.056 GB, free: 1.711 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.008254/0.7932, allocations: 3.34 MB / 1.059 GB, free: 14.36 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.004474/0.7977, allocations: 1.923 MB / 1.061 GB, free: 12.45 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.005761/0.8034, allocations: 4.239 MB / 1.065 GB, free: 8.207 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001946/0.8054, allocations: 1.121 MB / 1.066 GB, free: 7.051 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005655/0.811, allocations: 2.209 MB / 1.068 GB, free: 4.836 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002823/0.8139, allocations: 1.471 MB / 1.07 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0005443/0.8144, allocations: 180 kB / 1.07 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005119/0.8195, allocations: 2.873 MB / 1.073 GB, free: 320 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.001459/0.821, allocations: 1.008 MB / 1.074 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.002068/0.8231, allocations: 1.434 MB / 1.075 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.007823/0.8309, allocations: 4.842 MB / 1.08 GB, free: 9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 4.488e-06/0.8309, allocations: 0 / 1.08 GB, free: 9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.944e-06/0.8309, allocations: 0 / 1.08 GB, free: 9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.331e-05/0.8309, allocations: 0 / 1.08 GB, free: 9 MB / 0.8542 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.005146/0.8361, allocations: 3.401 MB / 1.083 GB, free: 5.535 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.989e-05/0.8361, allocations: 8.031 kB / 1.083 GB, free: 5.527 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001513/0.8363, allocations: 169 kB / 1.083 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002573/0.8389, allocations: 0.8216 MB / 1.084 GB, free: 4.527 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006258/0.8451, allocations: 6.231 MB / 1.09 GB, free: 14.23 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001213/0.8452, allocations: 149.5 kB / 1.09 GB, free: 14.07 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001271/0.8454, allocations: 108 kB / 1.09 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002488/0.8479, allocations: 2.054 MB / 1.092 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.051e-05/0.8479, allocations: 7.938 kB / 1.092 GB, free: 11.83 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.065e-05/0.848, allocations: 40 kB / 1.092 GB, free: 11.79 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.073e-05/0.848, allocations: 42.08 kB / 1.092 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0032/0.8512, allocations: 2.561 MB / 1.095 GB, free: 9.18 MB / 0.8698 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.01088/0.8621, allocations: 9.463 MB / 1.104 GB, free: 15.41 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002405/0.8645, allocations: 1.943 MB / 1.106 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001097/0.8656, allocations: 0.8959 MB / 1.107 GB, free: 12.56 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004179/0.866, allocations: 169.5 kB / 1.107 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001473/0.8675, allocations: 1.012 MB / 1.108 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=91): time 4.088e-06/0.8675, allocations: 0 / 1.108 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91): time 0.01172/0.8792, allocations: 5.655 MB / 1.114 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.182e-05/0.8793, allocations: 149.2 kB / 1.114 GB, free: 5.5 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009496/0.8888, allocations: 8.895 MB / 1.122 GB, free: 12.59 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 0.0002859/0.8891, allocations: 45.7 kB / 1.122 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008241/0.8899, allocations: 1.119 MB / 1.124 GB, free: 11.41 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003376/0.8902, allocations: 309.4 kB / 1.124 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002872/0.8905, allocations: 214.5 kB / 1.124 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001047/0.8906, allocations: 345.9 kB / 1.124 GB, free: 10.54 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00127/0.8919, allocations: 1.092 MB / 1.125 GB, free: 9.453 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.8933, allocations: 1.308 MB / 1.127 GB, free: 8.07 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002259/0.8955, allocations: 2.182 MB / 1.129 GB, free: 5.805 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.914e-06/0.8955, allocations: 4 kB / 1.129 GB, free: 5.801 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.005552/0.9011, allocations: 3.68 MB / 1.132 GB, free: 2.082 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.81e-05/0.9012, allocations: 71.39 kB / 1.133 GB, free: 2 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/0.9012, allocations: 7.938 kB / 1.133 GB, free: 1.992 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002931/0.9041, allocations: 1.983 MB / 1.134 GB, free: 15.99 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.9046, allocations: 195.6 kB / 1.135 GB, free: 15.8 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005991/0.9106, allocations: 6.583 MB / 1.141 GB, free: 8.938 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001824/0.9124, allocations: 242.9 kB / 1.141 GB, free: 8.699 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001345/0.9126, allocations: 47.98 kB / 1.141 GB, free: 8.652 MB / 0.9167 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.001034/0.9136, allocations: 0.6764 MB / 1.142 GB, free: 7.953 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005782/0.9142, allocations: 282.2 kB / 1.142 GB, free: 7.676 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004874/0.9191, allocations: 3.2 MB / 1.145 GB, free: 4.441 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.827e-05/0.9191, allocations: 8 kB / 1.145 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9191, allocations: 4 kB / 1.145 GB, free: 4.43 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.978e-06/0.9191, allocations: 7.969 kB / 1.145 GB, free: 4.422 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4576/1.377, allocations: 5.853 MB / 1.151 GB, free: 306.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-05/1.377, allocations: 11.09 kB / 1.151 GB, free: 306.7 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003785/1.377, allocations: 96.81 kB / 1.151 GB, free: 306.7 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002929/1.38, allocations: 1.973 MB / 1.153 GB, free: 306.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001239/1.38, allocations: 38.52 kB / 1.153 GB, free: 306.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00525/1.385, allocations: 6.518 MB / 1.16 GB, free: 301.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.377e-06/1.385, allocations: 2.5 kB / 1.16 GB, free: 301.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005316/1.391, allocations: 3.294 MB / 1.163 GB, free: 300.9 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001348/1.392, allocations: 0.5399 MB / 1.163 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002483/1.392, allocations: 25.22 kB / 1.163 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008775/1.393, allocations: 127.4 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001901/1.393, allocations: 74.55 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.738e-05/1.393, allocations: 42.83 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006569/1.4, allocations: 6.837 MB / 1.17 GB, free: 298 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.61e-07/1.4, allocations: 0 / 1.17 GB, free: 298 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002732/1.403, allocations: 0.7409 MB / 1.171 GB, free: 298 MB / 0.9167 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.006781/1.41, allocations: 4.212 MB / 1.175 GB, free: 296.2 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.004052/1.414, allocations: 2.542 MB / 1.178 GB, free: 295.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 9.027e-06/1.414, allocations: 3.984 kB / 1.178 GB, free: 295.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001948/1.416, allocations: 1.328 MB / 1.179 GB, free: 294.5 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003689/1.419, allocations: 1.027 MB / 1.18 GB, free: 294.3 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04266/1.462, allocations: 41.51 MB / 1.22 GB, free: 263 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000752/1.463, allocations: 1.688 MB / 1.222 GB, free: 261.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001577/1.464, allocations: 437.8 kB / 1.223 GB, free: 260.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007716/1.465, allocations: 0.9523 MB / 1.223 GB, free: 259.9 MB / 0.9167 GB Notification: Performance of SimCode: time 2.084e-06/1.465, allocations: 4 kB / 1.223 GB, free: 259.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08884/1.554, allocations: 79.9 MB / 1.301 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.94/14.49, allocations: 4.578 kB / 1.301 GB, free: 180.7 MB / 0.9167 GB " [Timeout remaining time 645] (rm -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.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 IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource.fmu > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 17.743072971934453] Failed to read output from testmodel.py, exit status != 0: 14.624187525827438 14.630876675 13.798099578 Calling exit ...