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.001374/0.001374, allocations: 114.3 kB / 18.94 MB, free: 2.957 MB / 14.72 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.001517/0.001517, allocations: 219.9 kB / 22.26 MB, free: 5.121 MB / 14.72 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 1.548/1.548, allocations: 230.6 MB / 256 MB, free: 8.012 MB / 206.1 MB " [Timeout remaining time 178] 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 1.328/1.328, allocations: 203.8 MB / 0.5041 GB, free: 4.98 MB / 414.1 MB " [Timeout remaining time 178] 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: translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") [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.00207/0.00207, allocations: 71.83 kB / 0.7187 GB, free: 2.25 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7179/0.72, allocations: 102 MB / 0.8183 GB, free: 29.21 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.3069/1.027, allocations: 229.4 MB / 1.042 GB, free: 0.6406 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.02797/1.055, allocations: 12.76 MB / 1.055 GB, free: 3.855 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004109/1.059, allocations: 91.25 kB / 1.055 GB, free: 3.766 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.004547/1.063, allocations: 1.251 MB / 1.056 GB, free: 2.508 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.01475/1.078, allocations: 3.33 MB / 1.059 GB, free: 15.16 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.008824/1.087, allocations: 1.924 MB / 1.061 GB, free: 13.25 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.01181/1.099, allocations: 4.236 MB / 1.065 GB, free: 9.008 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003735/1.103, allocations: 1.124 MB / 1.066 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009355/1.112, allocations: 2.215 MB / 1.069 GB, free: 5.637 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005017/1.117, allocations: 1.469 MB / 1.07 GB, free: 4.168 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 0.0008437/1.118, allocations: 183.9 kB / 1.07 GB, free: 3.988 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01018/1.128, allocations: 2.865 MB / 1.073 GB, free: 1.117 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 0.002218/1.13, allocations: 0.9891 MB / 1.074 GB, free: 128 kB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.003488/1.134, allocations: 1.325 MB / 1.075 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.01371/1.147, allocations: 4.441 MB / 1.08 GB, free: 10.34 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.326e-06/1.147, allocations: 4 kB / 1.08 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.404e-06/1.147, allocations: 0 / 1.08 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 9.698e-05/1.147, allocations: 0 / 1.08 GB, free: 10.33 MB / 0.8575 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.009831/1.157, allocations: 3.097 MB / 1.083 GB, free: 7.172 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 5.737e-05/1.157, allocations: 9.469 kB / 1.083 GB, free: 7.164 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006527/1.164, allocations: 0.81 MB / 1.083 GB, free: 6.352 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00875/1.173, allocations: 2.467 MB / 1.086 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003034/1.173, allocations: 141.5 kB / 1.086 GB, free: 3.668 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004426/1.173, allocations: 112 kB / 1.086 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005336/1.179, allocations: 2.058 MB / 1.088 GB, free: 1.43 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.472e-05/1.179, allocations: 4 kB / 1.088 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001664/1.179, allocations: 44 kB / 1.088 GB, free: 1.383 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.219e-05/1.179, allocations: 42.08 kB / 1.088 GB, free: 1.34 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006235/1.185, allocations: 2.561 MB / 1.091 GB, free: 14.77 MB / 0.8731 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.01713/1.202, allocations: 8.088 MB / 1.099 GB, free: 6.371 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004255/1.207, allocations: 1.944 MB / 1.101 GB, free: 4.422 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001932/1.209, allocations: 0.8904 MB / 1.101 GB, free: 3.527 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007703/1.209, allocations: 173.5 kB / 1.102 GB, free: 3.359 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002099/1.211, allocations: 1.02 MB / 1.103 GB, free: 2.32 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=91): time 3.656e-06/1.211, allocations: 4 kB / 1.103 GB, free: 2.316 MB / 0.8731 GB Notification: Performance of matching and sorting (n=91): time 0.02377/1.235, allocations: 5.628 MB / 1.108 GB, free: 12.66 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001394/1.235, allocations: 145.2 kB / 1.108 GB, free: 12.48 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008079/1.243, allocations: 3.981 MB / 1.112 GB, free: 8.492 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003357/1.244, allocations: 45.7 kB / 1.112 GB, free: 8.441 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.245, allocations: 1.024 MB / 1.113 GB, free: 7.41 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006853/1.246, allocations: 313.4 kB / 1.113 GB, free: 7.102 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007728/1.247, allocations: 214.5 kB / 1.114 GB, free: 6.883 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.000199/1.247, allocations: 353.9 kB / 1.114 GB, free: 6.531 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002183/1.249, allocations: 1.084 MB / 1.115 GB, free: 5.441 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00272/1.252, allocations: 1.312 MB / 1.116 GB, free: 4.055 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004282/1.256, allocations: 2.175 MB / 1.118 GB, free: 1.797 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.001e-05/1.256, allocations: 8 kB / 1.118 GB, free: 1.789 MB / 0.8887 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.5954/1.851, allocations: 3.659 MB / 1.122 GB, free: 272.3 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 9.051e-05/1.851, allocations: 71.8 kB / 1.122 GB, free: 272.2 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/1.851, allocations: 4.406 kB / 1.122 GB, free: 272.2 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.005319/1.857, allocations: 1.921 MB / 1.124 GB, free: 272.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/1.858, allocations: 181.8 kB / 1.124 GB, free: 272.1 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01033/1.868, allocations: 6.448 MB / 1.13 GB, free: 267.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002915/1.871, allocations: 235.1 kB / 1.131 GB, free: 267.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003397/1.872, allocations: 51.2 kB / 1.131 GB, free: 267.5 MB / 0.8887 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.001535/1.873, allocations: 0.6583 MB / 1.131 GB, free: 267.1 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.00102/1.874, allocations: 259 kB / 1.132 GB, free: 267.1 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.009562/1.884, allocations: 3.186 MB / 1.135 GB, free: 266.1 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.6e-05/1.884, allocations: 9.297 kB / 1.135 GB, free: 266.1 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.325e-06/1.884, allocations: 1.25 kB / 1.135 GB, free: 266.1 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.353e-05/1.884, allocations: 4.594 kB / 1.135 GB, free: 266.1 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01502/1.899, allocations: 5.547 MB / 1.14 GB, free: 264.1 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.144e-05/1.899, allocations: 3.297 kB / 1.14 GB, free: 264.1 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006505/1.899, allocations: 98.91 kB / 1.14 GB, free: 264.1 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.004623/1.904, allocations: 1.914 MB / 1.142 GB, free: 263.6 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001737/1.904, allocations: 32.17 kB / 1.142 GB, free: 263.6 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008335/1.912, allocations: 6.379 MB / 1.148 GB, free: 259 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.432e-06/1.913, allocations: 8.078 kB / 1.148 GB, free: 259 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008643/1.921, allocations: 3.262 MB / 1.152 GB, free: 257.8 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001843/1.923, allocations: 446.5 kB / 1.152 GB, free: 257.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004632/1.923, allocations: 24.28 kB / 1.152 GB, free: 257.5 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001567/1.925, allocations: 120.4 kB / 1.152 GB, free: 257.5 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002518/1.925, allocations: 78.27 kB / 1.152 GB, free: 257.5 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001185/1.925, allocations: 43.8 kB / 1.152 GB, free: 257.5 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.005124/1.931, allocations: 2.919 MB / 1.155 GB, free: 256.4 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.3e-07/1.931, allocations: 0 / 1.155 GB, free: 256.4 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.003285/1.934, allocations: 0.7205 MB / 1.156 GB, free: 256.3 MB / 0.8887 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.001133/1.935, allocations: 491.8 kB / 1.156 GB, free: 256.2 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.005212/1.94, allocations: 2.552 MB / 1.159 GB, free: 255.2 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 7.835e-06/1.94, allocations: 1.375 kB / 1.159 GB, free: 255.2 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.002608/1.943, allocations: 1.331 MB / 1.16 GB, free: 254.5 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005548/1.948, allocations: 1.015 MB / 1.161 GB, free: 254.2 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0113/1.96, allocations: 4.741 MB / 1.166 GB, free: 252 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001898/1.962, allocations: 1.689 MB / 1.167 GB, free: 251.2 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.00203/1.964, allocations: 367.9 kB / 1.168 GB, free: 251.1 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000391/1.964, allocations: 136.6 kB / 1.168 GB, free: 251.1 MB / 0.8887 GB Notification: Performance of SimCode: time 1.202e-06/1.964, allocations: 0 / 1.168 GB, free: 251.1 MB / 0.8887 GB Notification: Performance of Templates: time 0.07154/2.035, allocations: 52.07 MB / 1.219 GB, free: 207.7 MB / 0.8887 GB " [Timeout remaining time 658] make -j1 -f IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.043941935524344] Failed to read output from testmodel.py, exit status != 0: 2.0452841240912676 2.055511496 0.9051830399999999 Calling exit ...