Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.0009848/0.0009848, allocations: 100.4 kB / 19.7 MB, free: 448 kB / 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.001131/0.001131, allocations: 210.4 kB / 22.99 MB, free: 2.977 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.9468/0.9468, allocations: 230.6 MB / 256.8 MB, free: 9.598 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.7545/0.7545, allocations: 203.5 MB / 0.5046 GB, free: 10.7 MB / 410.7 MB " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource") translateModel(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.0008667/0.0008667, allocations: 65.78 kB / 0.719 GB, free: 3.902 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4607/0.4616, allocations: 102 MB / 0.8186 GB, free: 1.512 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource): time 0.1715/0.6331, allocations: 199.8 MB / 1.014 GB, free: 13.46 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01291/0.646, allocations: 11.84 MB / 1.025 GB, free: 1.598 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001403/0.6474, allocations: 91.25 kB / 1.025 GB, free: 1.508 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.001904/0.6493, allocations: 1.15 MB / 1.027 GB, free: 360 kB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 0.004595/0.6539, allocations: 3.301 MB / 1.03 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.002669/0.6566, allocations: 1.881 MB / 1.032 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.003098/0.6597, allocations: 4.219 MB / 1.036 GB, free: 6.949 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009842/0.6606, allocations: 1.125 MB / 1.037 GB, free: 5.793 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002686/0.6633, allocations: 2.216 MB / 1.039 GB, free: 3.57 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00113/0.6645, allocations: 1.378 MB / 1.04 GB, free: 2.191 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.0002545/0.6647, allocations: 180 kB / 1.04 GB, free: 2.016 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002687/0.6674, allocations: 2.288 MB / 1.043 GB, free: 15.72 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0005022/0.6679, allocations: 0.9813 MB / 1.044 GB, free: 14.74 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0006963/0.6686, allocations: 1.069 MB / 1.045 GB, free: 13.66 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.003265/0.6719, allocations: 4.379 MB / 1.049 GB, free: 9.27 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.416e-06/0.6719, allocations: 4 kB / 1.049 GB, free: 9.266 MB / 0.823 GB Notification: Performance of FrontEnd: time 2.024e-06/0.6719, allocations: 3.938 kB / 1.049 GB, free: 9.262 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.161e-05/0.6719, allocations: 0 / 1.049 GB, free: 9.262 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.003196/0.6751, allocations: 3.097 MB / 1.052 GB, free: 6.102 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.641e-05/0.6751, allocations: 8.031 kB / 1.052 GB, free: 6.094 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00217/0.6773, allocations: 0.7983 MB / 1.053 GB, free: 5.293 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002496/0.6798, allocations: 2.475 MB / 1.055 GB, free: 2.754 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001093/0.6799, allocations: 145.5 kB / 1.055 GB, free: 2.598 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/0.68, allocations: 115.9 kB / 1.055 GB, free: 2.484 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002148/0.6822, allocations: 2.245 MB / 1.058 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.822e-05/0.6822, allocations: 0 / 1.058 GB, free: 128 kB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/0.6823, allocations: 48 kB / 1.058 GB, free: 80 kB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.137e-05/0.6823, allocations: 42.08 kB / 1.058 GB, free: 36 kB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002644/0.6849, allocations: 2.612 MB / 1.06 GB, free: 13.4 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.006055/0.691, allocations: 6.62 MB / 1.067 GB, free: 6.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.6932, allocations: 2.002 MB / 1.069 GB, free: 4.648 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.6942, allocations: 0.957 MB / 1.07 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003386/0.6945, allocations: 160.5 kB / 1.07 GB, free: 3.52 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00111/0.6956, allocations: 1.194 MB / 1.071 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=91): time 2.014e-06/0.6956, allocations: 0 / 1.071 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of matching and sorting (n=91): time 0.01085/0.7065, allocations: 5.736 MB / 1.077 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.783e-05/0.7065, allocations: 141.2 kB / 1.077 GB, free: 12.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002902/0.7094, allocations: 3.71 MB / 1.08 GB, free: 8.57 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 6.568e-05/0.7095, allocations: 49.69 kB / 1.08 GB, free: 8.516 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005666/0.7101, allocations: 1.026 MB / 1.081 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.7102, allocations: 313.4 kB / 1.082 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.7105, allocations: 218.5 kB / 1.082 GB, free: 6.949 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001631/0.7106, allocations: 349.9 kB / 1.082 GB, free: 6.602 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001113/0.7118, allocations: 1.153 MB / 1.083 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001284/0.713, allocations: 1.592 MB / 1.085 GB, free: 3.699 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002039/0.7151, allocations: 2.186 MB / 1.087 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.218e-06/0.7151, allocations: 0 / 1.087 GB, free: 1.43 MB / 0.8542 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004254/0.7193, allocations: 3.719 MB / 1.091 GB, free: 13.66 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 4.638e-05/0.7194, allocations: 71.77 kB / 1.091 GB, free: 13.58 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.777e-06/0.7194, allocations: 8 kB / 1.091 GB, free: 13.57 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002366/0.7218, allocations: 1.924 MB / 1.093 GB, free: 11.63 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004582/0.7222, allocations: 179.8 kB / 1.093 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004841/0.7271, allocations: 6.353 MB / 1.099 GB, free: 4.848 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008453/0.7279, allocations: 191.2 kB / 1.099 GB, free: 4.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.665e-05/0.728, allocations: 55.97 kB / 1.099 GB, free: 4.605 MB / 0.8698 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.0006087/0.7286, allocations: 0.6608 MB / 1.1 GB, free: 3.922 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002082/0.7288, allocations: 234.5 kB / 1.1 GB, free: 3.691 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004094/0.7329, allocations: 3.231 MB / 1.103 GB, free: 420 kB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.057e-05/0.7329, allocations: 15.94 kB / 1.103 GB, free: 404 kB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.7329, allocations: 3.984 kB / 1.103 GB, free: 400 kB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.7329, allocations: 7.984 kB / 1.103 GB, free: 392 kB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006006/0.7389, allocations: 5.168 MB / 1.108 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.48e-06/0.7389, allocations: 0 / 1.108 GB, free: 11.1 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003171/0.7392, allocations: 100.2 kB / 1.108 GB, free: 11 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.002323/0.7416, allocations: 1.913 MB / 1.11 GB, free: 9.078 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.589e-05/0.7416, allocations: 31.98 kB / 1.11 GB, free: 9.047 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004522/0.7461, allocations: 6.308 MB / 1.117 GB, free: 2.48 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.617e-06/0.7461, allocations: 4 kB / 1.117 GB, free: 2.477 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004012/0.7502, allocations: 3.309 MB / 1.12 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005638/0.7507, allocations: 426 kB / 1.12 GB, free: 14.66 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001522/0.7509, allocations: 24.25 kB / 1.12 GB, free: 14.64 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006783/0.7516, allocations: 120.5 kB / 1.12 GB, free: 14.52 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.7517, allocations: 80.41 kB / 1.12 GB, free: 14.44 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.106e-05/0.7517, allocations: 43.97 kB / 1.12 GB, free: 14.4 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.002019/0.7537, allocations: 2.717 MB / 1.123 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.7e-07/0.7537, allocations: 0 / 1.123 GB, free: 11.67 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.001286/0.755, allocations: 0.7448 MB / 1.124 GB, free: 10.92 MB / 0.9011 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.000705/0.7557, allocations: 492.5 kB / 1.124 GB, free: 10.44 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.002771/0.7585, allocations: 2.669 MB / 1.127 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.7585, allocations: 0 / 1.127 GB, free: 7.691 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.00138/0.7599, allocations: 1.398 MB / 1.128 GB, free: 6.234 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001775/0.7617, allocations: 0.8006 MB / 1.129 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004962/0.7666, allocations: 4.592 MB / 1.133 GB, free: 0.7695 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007119/0.7673, allocations: 1.025 MB / 1.134 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.7676, allocations: 127.4 kB / 1.135 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of SimCode: time 7.11e-07/0.7676, allocations: 0 / 1.135 GB, free: 15.58 MB / 0.9167 GB Notification: Performance of Templates: time 0.372/1.14, allocations: 69.92 MB / 1.203 GB, free: 278.9 MB / 0.9167 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; mkfifo IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe >> ../files/IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.sim & ./IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.CHPs.OrganicRankine.Validation.VariableSource.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.494287604931742] Failed to read output from testmodel.py, exit status != 0: 1.1449794950895011 1.150582443 0.47725060799999997 Calling exit ...