Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.001334/0.001334, allocations: 105 kB / 20.44 MB, free: 1.504 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.001491/0.001491, allocations: 209.1 kB / 23.76 MB, free: 4.727 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.47/1.47, allocations: 230.6 MB / 257.5 MB, free: 8.016 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9847/0.9847, allocations: 150 MB / 463.9 MB, free: 10.47 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 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(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon") [Timeout 660] "Notification: IBPSA 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.002044/0.002044, allocations: 66.81 kB / 0.6425 GB, free: 9.887 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.201/0.203, allocations: 89.18 MB / 0.7296 GB, free: 0.7656 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.4774/0.6805, allocations: 62.51 MB / 0.7906 GB, free: 4.32 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02034/0.7008, allocations: 12.08 MB / 0.8024 GB, free: 13.65 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003411/0.7042, allocations: 84.38 kB / 0.8025 GB, free: 13.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002959/0.7072, allocations: 0.7021 MB / 0.8032 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.00839/0.7156, allocations: 2.098 MB / 0.8052 GB, free: 11.92 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004702/0.7203, allocations: 1.249 MB / 0.8065 GB, free: 11.23 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.006477/0.7267, allocations: 3.117 MB / 0.8095 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002248/0.729, allocations: 0.8731 MB / 0.8104 GB, free: 9.203 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004901/0.7339, allocations: 1.515 MB / 0.8118 GB, free: 8.469 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002557/0.7364, allocations: 0.9276 MB / 0.8127 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0005507/0.737, allocations: 115.7 kB / 0.8128 GB, free: 8.047 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004728/0.7417, allocations: 1.487 MB / 0.8143 GB, free: 7.547 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007153/0.7424, allocations: 299.5 kB / 0.8146 GB, free: 7.348 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002187/0.7446, allocations: 0.7013 MB / 0.8153 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006676/0.7513, allocations: 2.325 MB / 0.8175 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.951e-06/0.7513, allocations: 0 / 0.8175 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.7513, allocations: 0 / 0.8175 GB, free: 5.742 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 0.0001047/0.7514, allocations: 0 / 0.8175 GB, free: 5.742 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005737/0.7572, allocations: 1.7 MB / 0.8192 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.952e-05/0.7572, allocations: 9.031 kB / 0.8192 GB, free: 4.445 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002759/0.76, allocations: 416.1 kB / 0.8196 GB, free: 4.254 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003937/0.7639, allocations: 1.11 MB / 0.8207 GB, free: 3.395 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001519/0.7641, allocations: 60.72 kB / 0.8207 GB, free: 3.367 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.7644, allocations: 83.08 kB / 0.8208 GB, free: 3.34 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00303/0.7674, allocations: 1.003 MB / 0.8218 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.071e-05/0.7674, allocations: 1.031 kB / 0.8218 GB, free: 2.672 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001249/0.7675, allocations: 32.06 kB / 0.8218 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.13e-05/0.7676, allocations: 20.09 kB / 0.8219 GB, free: 2.648 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002952/0.7705, allocations: 0.8642 MB / 0.8227 GB, free: 2.215 MB / 0.5919 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.01012/0.7807, allocations: 5.13 MB / 0.8277 GB, free: 13.59 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003422/0.7841, allocations: 0.759 MB / 0.8285 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008379/0.7849, allocations: 275.3 kB / 0.8287 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000409/0.7853, allocations: 86.11 kB / 0.8288 GB, free: 13.03 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.149e-05/0.7854, allocations: 40.47 kB / 0.8288 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=43): time 2.294e-06/0.7854, allocations: 0 / 0.8288 GB, free: 12.98 MB / 0.6075 GB Notification: Performance of matching and sorting (n=43): time 0.008681/0.7941, allocations: 1.775 MB / 0.8306 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.317e-05/0.7941, allocations: 59.73 kB / 0.8306 GB, free: 12.05 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002505/0.7966, allocations: 1.082 MB / 0.8317 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001151/0.7967, allocations: 37.83 kB / 0.8317 GB, free: 11.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006027/0.7973, allocations: 0.5391 MB / 0.8322 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001903/0.7975, allocations: 157.6 kB / 0.8324 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003189/0.7978, allocations: 135.2 kB / 0.8325 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001885/0.798, allocations: 335.3 kB / 0.8328 GB, free: 10.38 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009794/0.799, allocations: 306 kB / 0.8331 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001218/0.8002, allocations: 0.5341 MB / 0.8337 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001743/0.802, allocations: 0.7171 MB / 0.8344 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.568e-06/0.802, allocations: 0 / 0.8344 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.003003/0.805, allocations: 1.02 MB / 0.8354 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.8e-05/0.805, allocations: 10.84 kB / 0.8354 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.539e-05/0.805, allocations: 5.281 kB / 0.8354 GB, free: 8.773 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001301/0.8063, allocations: 307 kB / 0.8357 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005683/0.8069, allocations: 132.8 kB / 0.8358 GB, free: 8.594 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001577/0.8085, allocations: 0.902 MB / 0.8367 GB, free: 7.871 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.81, allocations: 149.1 kB / 0.8368 GB, free: 7.793 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001056/0.8101, allocations: 34.83 kB / 0.8368 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001375/0.8115, allocations: 0.5124 MB / 0.8373 GB, free: 7.473 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001134/0.8126, allocations: 0.5263 MB / 0.8379 GB, free: 7.035 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001698/0.8143, allocations: 0.7076 MB / 0.8385 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.076e-05/0.8143, allocations: 3.781 kB / 0.8386 GB, free: 6.551 MB / 0.6075 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002925/0.8173, allocations: 1.009 MB / 0.8395 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.825e-05/0.8173, allocations: 11.89 kB / 0.8395 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.052e-05/0.8173, allocations: 5.469 kB / 0.8396 GB, free: 6.027 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001157/0.8184, allocations: 300.1 kB / 0.8398 GB, free: 5.891 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005457/0.819, allocations: 127.7 kB / 0.84 GB, free: 5.855 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001488/0.8205, allocations: 0.8927 MB / 0.8408 GB, free: 5.141 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001538/0.822, allocations: 139.9 kB / 0.841 GB, free: 5.07 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.394e-05/0.8221, allocations: 29.55 kB / 0.841 GB, free: 5.062 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003368/0.8224, allocations: 225.7 kB / 0.8412 GB, free: 4.848 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004271/0.8229, allocations: 117.1 kB / 0.8413 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00394/0.8268, allocations: 1.085 MB / 0.8424 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.728e-05/0.8268, allocations: 19.92 kB / 0.8424 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.686e-06/0.8268, allocations: 0 / 0.8424 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.515e-06/0.8269, allocations: 0 / 0.8424 GB, free: 4.031 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006202/0.8331, allocations: 2.122 MB / 0.8445 GB, free: 1.836 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.18e-05/0.8331, allocations: 5.125 kB / 0.8445 GB, free: 1.832 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003033/0.8334, allocations: 64.17 kB / 0.8445 GB, free: 1.77 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001036/0.8344, allocations: 296.5 kB / 0.8448 GB, free: 1.477 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.629e-05/0.8345, allocations: 19.98 kB / 0.8448 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0016/0.8361, allocations: 0.9278 MB / 0.8457 GB, free: 0.5039 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.168e-06/0.8361, allocations: 7.969 kB / 0.8458 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003846/0.8399, allocations: 1.153 MB / 0.8469 GB, free: 15.29 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007969/0.8407, allocations: 199 kB / 0.8471 GB, free: 15.1 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003853/0.8411, allocations: 8 kB / 0.8471 GB, free: 15.09 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001072/0.8422, allocations: 75.86 kB / 0.8472 GB, free: 15.02 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001102/0.8423, allocations: 43.8 kB / 0.8472 GB, free: 14.97 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.861e-05/0.8423, allocations: 24 kB / 0.8472 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.001663/0.844, allocations: 0.7631 MB / 0.848 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.1e-07/0.844, allocations: 0 / 0.848 GB, free: 14.18 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002558/0.8466, allocations: 0.5692 MB / 0.8485 GB, free: 13.61 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001005/0.8476, allocations: 365.7 kB / 0.8489 GB, free: 13.25 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003464/0.851, allocations: 1.093 MB / 0.8499 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 6.592e-06/0.851, allocations: 0 / 0.8499 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0009339/0.852, allocations: 326 kB / 0.8502 GB, free: 11.84 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002755/0.8547, allocations: 0.5084 MB / 0.8507 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006164/0.8609, allocations: 2.088 MB / 0.8528 GB, free: 9.203 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009757/0.8619, allocations: 1.057 MB / 0.8538 GB, free: 8.113 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003034/0.8622, allocations: 79.42 kB / 0.8539 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of SimCode: time 7.31e-07/0.8622, allocations: 0 / 0.8539 GB, free: 8.035 MB / 0.6231 GB Notification: Performance of Templates: time 0.04105/0.9032, allocations: 24.24 MB / 0.8776 GB, free: 15.96 MB / 0.6544 GB " [Timeout remaining time 659] make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.334089325973764] Failed to read output from testmodel.py, exit status != 0: 0.9136556920129806 0.929154682 0.17436092899999994 Calling exit ...