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.0008608/0.0008608, allocations: 113.9 kB / 18.94 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.001255/0.001255, allocations: 217.2 kB / 22.26 MB, free: 3.695 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.9721/0.9721, allocations: 230.6 MB / 256 MB, free: 9.777 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.7903/0.7903, allocations: 203.8 MB / 0.5042 GB, free: 10.67 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.0009507/0.0009507, allocations: 74.83 kB / 0.7182 GB, free: 4.305 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5266/0.5275, allocations: 102 MB / 0.8179 GB, free: 1.25 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1884/0.7159, allocations: 229.4 MB / 1.042 GB, free: 15.85 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01481/0.7307, allocations: 12.74 MB / 1.054 GB, free: 3.078 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.7327, allocations: 103.1 kB / 1.054 GB, free: 2.977 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002335/0.735, allocations: 1.255 MB / 1.056 GB, free: 1.715 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00607/0.7411, allocations: 3.334 MB / 1.059 GB, free: 14.37 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.003078/0.7442, allocations: 1.925 MB / 1.061 GB, free: 12.46 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.003649/0.7478, allocations: 4.234 MB / 1.065 GB, free: 8.223 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001061/0.7489, allocations: 1.125 MB / 1.066 GB, free: 7.062 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00308/0.752, allocations: 2.208 MB / 1.068 GB, free: 4.852 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.7532, allocations: 1.474 MB / 1.07 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 0.0001851/0.7534, allocations: 180 kB / 1.07 GB, free: 3.195 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004304/0.7577, allocations: 2.873 MB / 1.073 GB, free: 324 kB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.000601/0.7583, allocations: 1.008 MB / 1.074 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0009406/0.7593, allocations: 1.442 MB / 1.075 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.005834/0.7651, allocations: 4.834 MB / 1.08 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.412e-06/0.7651, allocations: 0 / 1.08 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of FrontEnd: time 3.697e-06/0.7651, allocations: 0 / 1.08 GB, free: 9.004 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.385e-05/0.7652, allocations: 0 / 1.08 GB, free: 9.004 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.004071/0.7692, allocations: 3.397 MB / 1.083 GB, free: 5.543 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.7693, allocations: 12.03 kB / 1.083 GB, free: 5.531 MB / 0.8542 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001494/0.7694, allocations: 169 kB / 1.083 GB, free: 5.355 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002429/0.7719, allocations: 0.8215 MB / 1.084 GB, free: 4.531 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004784/0.7766, allocations: 6.231 MB / 1.09 GB, free: 14.24 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000117/0.7768, allocations: 145.5 kB / 1.09 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.7769, allocations: 116 kB / 1.09 GB, free: 13.97 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002498/0.7794, allocations: 2.05 MB / 1.092 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.911e-05/0.7794, allocations: 3.938 kB / 1.092 GB, free: 11.84 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.98e-05/0.7795, allocations: 44 kB / 1.092 GB, free: 11.8 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.198e-05/0.7795, allocations: 42.08 kB / 1.092 GB, free: 11.75 MB / 0.8698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002725/0.7822, allocations: 2.561 MB / 1.095 GB, free: 9.184 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.008265/0.7905, allocations: 9.459 MB / 1.104 GB, free: 15.42 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002459/0.793, allocations: 1.952 MB / 1.106 GB, free: 13.46 MB / 0.8855 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001033/0.794, allocations: 0.8909 MB / 1.107 GB, free: 12.57 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003963/0.7944, allocations: 172.5 kB / 1.107 GB, free: 12.4 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.7955, allocations: 1.012 MB / 1.108 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=91): time 2.745e-06/0.7955, allocations: 0 / 1.108 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=91): time 0.01172/0.8072, allocations: 5.655 MB / 1.114 GB, free: 5.676 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.79e-05/0.8073, allocations: 145.2 kB / 1.114 GB, free: 5.504 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.007687/0.815, allocations: 8.887 MB / 1.122 GB, free: 12.6 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 9.299e-05/0.8151, allocations: 53.69 kB / 1.122 GB, free: 12.54 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007169/0.8158, allocations: 1.115 MB / 1.124 GB, free: 11.42 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002321/0.816, allocations: 309.4 kB / 1.124 GB, free: 11.11 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002612/0.8163, allocations: 222.5 kB / 1.124 GB, free: 10.89 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 9.714e-05/0.8164, allocations: 341.9 kB / 1.124 GB, free: 10.55 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001144/0.8175, allocations: 1.088 MB / 1.125 GB, free: 9.461 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001519/0.8191, allocations: 1.305 MB / 1.127 GB, free: 8.082 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002118/0.8212, allocations: 2.183 MB / 1.129 GB, free: 5.816 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.698e-06/0.8212, allocations: 3.938 kB / 1.129 GB, free: 5.812 MB / 0.9011 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004527/0.8257, allocations: 3.685 MB / 1.132 GB, free: 2.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 6.258e-05/0.8258, allocations: 75.38 kB / 1.133 GB, free: 2.004 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.332e-05/0.8258, allocations: 8 kB / 1.133 GB, free: 1.996 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002973/0.8288, allocations: 1.983 MB / 1.134 GB, free: 0 / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005041/0.8293, allocations: 187.7 kB / 1.135 GB, free: 15.82 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005872/0.8351, allocations: 6.598 MB / 1.141 GB, free: 8.941 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001322/0.8364, allocations: 242.9 kB / 1.141 GB, free: 8.703 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.384e-05/0.8365, allocations: 51.97 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.0009065/0.8374, allocations: 0.6577 MB / 1.142 GB, free: 7.973 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003195/0.8378, allocations: 282.2 kB / 1.142 GB, free: 7.695 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004443/0.8422, allocations: 3.213 MB / 1.145 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.491e-05/0.8422, allocations: 12 kB / 1.145 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.98e-06/0.8422, allocations: 0 / 1.145 GB, free: 4.438 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.767e-06/0.8422, allocations: 3.984 kB / 1.145 GB, free: 4.434 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4205/1.263, allocations: 5.852 MB / 1.151 GB, free: 306.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.51e-05/1.263, allocations: 9.891 kB / 1.151 GB, free: 306.6 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003794/1.263, allocations: 100 kB / 1.151 GB, free: 306.6 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003192/1.266, allocations: 1.971 MB / 1.153 GB, free: 306.5 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.284e-05/1.266, allocations: 30.95 kB / 1.153 GB, free: 306.5 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004958/1.271, allocations: 6.525 MB / 1.16 GB, free: 301.9 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.867e-06/1.271, allocations: 3.875 kB / 1.16 GB, free: 301.9 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00495/1.276, allocations: 3.283 MB / 1.163 GB, free: 300.8 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001107/1.277, allocations: 0.5453 MB / 1.163 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002154/1.278, allocations: 32.12 kB / 1.163 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008349/1.278, allocations: 127.8 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/1.279, allocations: 74.08 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.555e-05/1.279, allocations: 39.73 kB / 1.164 GB, free: 300.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.006204/1.285, allocations: 6.839 MB / 1.17 GB, free: 298 MB / 0.9167 GB Notification: Performance of sort global known variables: time 3.2e-07/1.285, allocations: 0 / 1.17 GB, free: 298 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.001771/1.287, allocations: 0.7375 MB / 1.171 GB, free: 297.9 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.005593/1.292, allocations: 4.219 MB / 1.175 GB, free: 296.1 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.003266/1.296, allocations: 2.536 MB / 1.178 GB, free: 295.2 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/1.296, allocations: 8.062 kB / 1.178 GB, free: 295.2 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.00151/1.297, allocations: 1.327 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.002532/1.3, allocations: 1.024 MB / 1.18 GB, free: 294.2 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0325/1.332, allocations: 41.5 MB / 1.22 GB, free: 263 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006828/1.333, allocations: 1.691 MB / 1.222 GB, free: 261.3 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.001175/1.334, allocations: 430.3 kB / 1.223 GB, free: 260.8 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006524/1.335, allocations: 0.9562 MB / 1.223 GB, free: 259.9 MB / 0.9167 GB Notification: Performance of SimCode: time 9.62e-07/1.335, allocations: 8 kB / 1.223 GB, free: 259.9 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08988/1.424, allocations: 79.9 MB / 1.301 GB, free: 180.7 MB / 0.9167 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.51/13.93, allocations: 6.875 kB / 1.301 GB, free: 180.7 MB / 0.9167 GB " [Timeout remaining time 646] (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: 17.05068910587579] Failed to read output from testmodel.py, exit status != 0: 14.058888213010505 14.069750534 13.30132753 Calling exit ...