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.0008195/0.0008195, allocations: 101.5 kB / 18.95 MB, free: 1.184 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.001093/0.001093, allocations: 209.2 kB / 22.24 MB, free: 3.59 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.9354/0.9354, allocations: 230.6 MB / 256 MB, free: 9.605 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.7863/0.7863, allocations: 203.8 MB / 0.5042 GB, free: 10.45 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.0009834/0.0009834, allocations: 66.95 kB / 0.7182 GB, free: 4.039 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5317/0.5327, allocations: 102 MB / 0.8178 GB, free: 1.043 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.209/0.7417, allocations: 199.8 MB / 1.013 GB, free: 13.13 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01561/0.7573, allocations: 11.84 MB / 1.025 GB, free: 1.273 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00263/0.7599, allocations: 95.19 kB / 1.025 GB, free: 1.18 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.003105/0.763, allocations: 1.165 MB / 1.026 GB, free: 8 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.007858/0.7709, allocations: 3.291 MB / 1.029 GB, free: 12.7 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.004649/0.7755, allocations: 1.889 MB / 1.031 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.005588/0.7811, allocations: 4.212 MB / 1.035 GB, free: 6.609 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001885/0.783, allocations: 1.121 MB / 1.036 GB, free: 5.449 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005074/0.7881, allocations: 2.222 MB / 1.038 GB, free: 3.227 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002101/0.7902, allocations: 1.388 MB / 1.04 GB, free: 1.832 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002753/0.7904, allocations: 180 kB / 1.04 GB, free: 1.656 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005362/0.7958, allocations: 2.28 MB / 1.042 GB, free: 15.37 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0009493/0.7968, allocations: 1.005 MB / 1.043 GB, free: 14.36 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.00198/0.7987, allocations: 1.162 MB / 1.044 GB, free: 13.2 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.006681/0.8054, allocations: 4.772 MB / 1.049 GB, free: 8.406 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/0.8054, allocations: 0 / 1.049 GB, free: 8.406 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.305e-06/0.8054, allocations: 4 kB / 1.049 GB, free: 8.402 MB / 0.823 GB Notification: Performance of Transformations before backend: time 5.947e-05/0.8055, allocations: 0 / 1.049 GB, free: 8.402 MB / 0.823 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.005066/0.8106, allocations: 3.409 MB / 1.052 GB, free: 4.93 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 5.423e-05/0.8106, allocations: 8.031 kB / 1.052 GB, free: 4.922 MB / 0.823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000153/0.8108, allocations: 165 kB / 1.052 GB, free: 4.75 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002624/0.8134, allocations: 0.8255 MB / 1.053 GB, free: 3.922 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006711/0.8201, allocations: 6.239 MB / 1.059 GB, free: 13.62 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001456/0.8202, allocations: 145.5 kB / 1.059 GB, free: 13.46 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001269/0.8204, allocations: 111.9 kB / 1.059 GB, free: 13.36 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002665/0.823, allocations: 2.238 MB / 1.062 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.299e-05/0.8231, allocations: 0 / 1.062 GB, free: 11 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.853e-05/0.8231, allocations: 48 kB / 1.062 GB, free: 10.96 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.742e-05/0.8232, allocations: 46.06 kB / 1.062 GB, free: 10.91 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003023/0.8262, allocations: 2.615 MB / 1.064 GB, free: 8.273 MB / 0.8386 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.8371, allocations: 8.141 MB / 1.072 GB, free: 12 kB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002463/0.8396, allocations: 2.006 MB / 1.074 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001109/0.8407, allocations: 0.9528 MB / 1.075 GB, free: 13.02 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000466/0.8411, allocations: 164.5 kB / 1.075 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001343/0.8425, allocations: 1.186 MB / 1.076 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=91): time 5.36e-06/0.8425, allocations: 0 / 1.076 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=91): time 0.01266/0.8551, allocations: 5.775 MB / 1.082 GB, free: 5.781 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.809e-05/0.8552, allocations: 153.1 kB / 1.082 GB, free: 5.602 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.009201/0.8644, allocations: 8.891 MB / 1.091 GB, free: 12.69 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002803/0.8647, allocations: 49.7 kB / 1.091 GB, free: 12.64 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008115/0.8655, allocations: 1.115 MB / 1.092 GB, free: 11.51 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003449/0.8659, allocations: 305.4 kB / 1.092 GB, free: 11.21 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002886/0.8661, allocations: 218.5 kB / 1.092 GB, free: 10.99 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.8663, allocations: 349.9 kB / 1.093 GB, free: 10.64 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001572/0.8678, allocations: 1.15 MB / 1.094 GB, free: 9.48 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00147/0.8693, allocations: 1.604 MB / 1.095 GB, free: 7.738 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002303/0.8716, allocations: 2.186 MB / 1.098 GB, free: 5.465 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.778e-06/0.8716, allocations: 4 kB / 1.098 GB, free: 5.461 MB / 0.8698 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.00546/0.8771, allocations: 3.758 MB / 1.101 GB, free: 1.656 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 6.01e-05/0.8771, allocations: 75.38 kB / 1.101 GB, free: 1.57 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.297e-05/0.8771, allocations: 4 kB / 1.101 GB, free: 1.566 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003079/0.8802, allocations: 1.983 MB / 1.103 GB, free: 15.57 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005898/0.8808, allocations: 191.6 kB / 1.103 GB, free: 15.38 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006455/0.8873, allocations: 6.562 MB / 1.11 GB, free: 8.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002016/0.8893, allocations: 242.9 kB / 1.11 GB, free: 8.309 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001556/0.8894, allocations: 47.98 kB / 1.11 GB, free: 8.262 MB / 0.8855 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.001316/0.8908, allocations: 0.6609 MB / 1.111 GB, free: 7.578 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007133/0.8915, allocations: 278.2 kB / 1.111 GB, free: 7.305 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005039/0.8965, allocations: 3.276 MB / 1.114 GB, free: 3.984 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.8965, allocations: 11.94 kB / 1.114 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.8965, allocations: 0 / 1.114 GB, free: 3.973 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.594e-06/0.8965, allocations: 3.984 kB / 1.114 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008062/0.9046, allocations: 5.536 MB / 1.12 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.705e-06/0.9046, allocations: 4.031 kB / 1.12 GB, free: 14.3 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003509/0.905, allocations: 103.8 kB / 1.12 GB, free: 14.2 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002971/0.9079, allocations: 1.967 MB / 1.122 GB, free: 12.22 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001047/0.908, allocations: 35.97 kB / 1.122 GB, free: 12.18 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.005791/0.9138, allocations: 6.495 MB / 1.128 GB, free: 5.406 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.868e-06/0.9138, allocations: 4 kB / 1.128 GB, free: 5.402 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004999/0.9188, allocations: 3.355 MB / 1.131 GB, free: 1.957 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001796/0.9206, allocations: 0.5485 MB / 1.132 GB, free: 1.406 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006158/0.9212, allocations: 31.94 kB / 1.132 GB, free: 1.375 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001207/0.9224, allocations: 119.8 kB / 1.132 GB, free: 1.258 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002064/0.9226, allocations: 72.78 kB / 1.132 GB, free: 1.188 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.025e-05/0.9227, allocations: 47.97 kB / 1.132 GB, free: 1.141 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.006248/0.929, allocations: 6.831 MB / 1.139 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of sort global known variables: time 2.61e-07/0.929, allocations: 0 / 1.139 GB, free: 10.31 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.002452/0.9314, allocations: 0.7334 MB / 1.14 GB, free: 9.574 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.00625/0.9377, allocations: 4.291 MB / 1.144 GB, free: 5.184 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003441/0.9411, allocations: 2.669 MB / 1.146 GB, free: 2.441 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 7.153e-06/0.9411, allocations: 8.312 kB / 1.146 GB, free: 2.434 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.001912/0.943, allocations: 1.394 MB / 1.148 GB, free: 0.9766 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.4787/1.422, allocations: 1.009 MB / 1.149 GB, free: 121.7 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.06137/1.483, allocations: 41.8 MB / 1.19 GB, free: 117.8 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000925/1.484, allocations: 1.113 MB / 1.191 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.00176/1.486, allocations: 438.6 kB / 1.191 GB, free: 117.7 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008789/1.487, allocations: 0.9584 MB / 1.192 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of SimCode: time 1.162e-06/1.487, allocations: 1.031 kB / 1.192 GB, free: 117.6 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09996/1.587, allocations: 80.65 MB / 1.271 GB, free: 62.68 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.513/11.1, allocations: 3.938 kB / 1.271 GB, free: 62.68 MB / 0.9167 GB " [Timeout remaining time 649] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_CHPs_OrganicRankine_Validation_VariableSource_fmu --startTime=0 --stopTime=300 --stepSize=0.12 --timeout=50 --tolerance=1e-06 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: 14.150794213172048] Failed to read output from testmodel.py, exit status != 0: 11.223846449982375 11.235408151 10.427260205 Calling exit ...