Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001336/0.001336, allocations: 102.1 kB / 19.7 MB, free: 2.246 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.001484/0.001484, allocations: 222.5 kB / 23.01 MB, free: 5.086 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.441/1.441, allocations: 230.6 MB / 256.8 MB, free: 7.965 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8545/0.8545, allocations: 134 MB / 447.2 MB, free: 10.19 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") translateModel(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon") [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.002299/0.002299, allocations: 74.22 kB / 0.6198 GB, free: 6.676 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1779/0.1802, allocations: 85.9 MB / 0.7037 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.489/0.6692, allocations: 62.46 MB / 0.7647 GB, free: 8.879 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.01757/0.6868, allocations: 12.06 MB / 0.7764 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00349/0.6903, allocations: 81.62 kB / 0.7765 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002474/0.6927, allocations: 0.7084 MB / 0.7772 GB, free: 8.504 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.007158/0.6999, allocations: 2.103 MB / 0.7793 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004167/0.7041, allocations: 1.244 MB / 0.7805 GB, free: 7.387 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.005301/0.7094, allocations: 3.128 MB / 0.7835 GB, free: 5.918 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001616/0.711, allocations: 0.8662 MB / 0.7844 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003563/0.7145, allocations: 1.392 MB / 0.7857 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001959/0.7165, allocations: 0.9485 MB / 0.7867 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.7167, allocations: 114.6 kB / 0.7868 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003763/0.7205, allocations: 1.499 MB / 0.7882 GB, free: 4.055 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003191/0.7208, allocations: 303 kB / 0.7885 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001002/0.7218, allocations: 0.6864 MB / 0.7892 GB, free: 3.438 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004952/0.7268, allocations: 2.343 MB / 0.7915 GB, free: 2.664 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.56e-06/0.7268, allocations: 5.094 kB / 0.7915 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.074e-06/0.7268, allocations: 4 kB / 0.7915 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.7268, allocations: 0 / 0.7915 GB, free: 2.656 MB / 0.5606 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.0036/0.7304, allocations: 1.695 MB / 0.7931 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.65e-05/0.7305, allocations: 11.47 kB / 0.7932 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002168/0.7326, allocations: 413.8 kB / 0.7936 GB, free: 1.453 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002361/0.735, allocations: 1.103 MB / 0.7946 GB, free: 0.8086 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.012e-05/0.735, allocations: 59.94 kB / 0.7947 GB, free: 0.7812 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000114/0.7352, allocations: 87.25 kB / 0.7948 GB, free: 0.75 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001874/0.737, allocations: 0.9962 MB / 0.7957 GB, free: 268 kB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.14e-05/0.737, allocations: 5.031 kB / 0.7957 GB, free: 264 kB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.164e-05/0.7371, allocations: 32.94 kB / 0.7958 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.41e-05/0.7371, allocations: 19 kB / 0.7958 GB, free: 240 kB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002152/0.7393, allocations: 0.8635 MB / 0.7966 GB, free: 15.97 MB / 0.5762 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.007357/0.7467, allocations: 5.127 MB / 0.8016 GB, free: 11.41 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003221/0.7499, allocations: 0.7443 MB / 0.8024 GB, free: 11.04 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006916/0.7506, allocations: 278.1 kB / 0.8026 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003198/0.7509, allocations: 84 kB / 0.8027 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.419e-05/0.7509, allocations: 53.19 kB / 0.8028 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.184e-06/0.7509, allocations: 0 / 0.8028 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007901/0.7588, allocations: 1.769 MB / 0.8045 GB, free: 9.953 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.136e-05/0.7589, allocations: 57.31 kB / 0.8046 GB, free: 9.891 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001839/0.7607, allocations: 1.079 MB / 0.8056 GB, free: 9.289 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001101/0.7608, allocations: 37.64 kB / 0.8056 GB, free: 9.25 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004893/0.7613, allocations: 0.5328 MB / 0.8062 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001722/0.7615, allocations: 172 kB / 0.8063 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002259/0.7617, allocations: 130.6 kB / 0.8065 GB, free: 8.562 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001459/0.7619, allocations: 327.8 kB / 0.8068 GB, free: 8.242 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000837/0.7627, allocations: 313.3 kB / 0.8071 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/0.7638, allocations: 0.5341 MB / 0.8076 GB, free: 7.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001565/0.7653, allocations: 0.7099 MB / 0.8083 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.829e-06/0.7654, allocations: 0 / 0.8083 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002638/0.768, allocations: 1.021 MB / 0.8093 GB, free: 6.629 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.148e-05/0.768, allocations: 13.91 kB / 0.8093 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.768, allocations: 2.906 kB / 0.8093 GB, free: 6.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001205/0.7692, allocations: 309 kB / 0.8096 GB, free: 6.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005332/0.7698, allocations: 133.1 kB / 0.8097 GB, free: 6.441 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00156/0.7713, allocations: 0.9012 MB / 0.8106 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.7727, allocations: 157.9 kB / 0.8107 GB, free: 5.637 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.968e-05/0.7728, allocations: 33.8 kB / 0.8108 GB, free: 5.625 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001182/0.774, allocations: 0.5155 MB / 0.8113 GB, free: 5.316 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001038/0.775, allocations: 0.5304 MB / 0.8118 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001576/0.7766, allocations: 0.7102 MB / 0.8125 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.578e-06/0.7766, allocations: 2.844 kB / 0.8125 GB, free: 4.383 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002721/0.7793, allocations: 1.001 MB / 0.8135 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.525e-05/0.7793, allocations: 5.219 kB / 0.8135 GB, free: 3.871 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.7793, allocations: 9.297 kB / 0.8135 GB, free: 3.867 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001064/0.7804, allocations: 300.4 kB / 0.8138 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005337/0.7809, allocations: 127.6 kB / 0.8139 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001392/0.7823, allocations: 0.894 MB / 0.8148 GB, free: 2.977 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00153/0.7838, allocations: 132.5 kB / 0.8149 GB, free: 2.91 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.38e-05/0.7839, allocations: 36.42 kB / 0.8149 GB, free: 2.898 MB / 0.5762 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.0003056/0.7842, allocations: 221.3 kB / 0.8151 GB, free: 2.688 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002487/0.7845, allocations: 115 kB / 0.8152 GB, free: 2.625 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.7881, allocations: 1.089 MB / 0.8163 GB, free: 2.031 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.117e-05/0.7881, allocations: 13.48 kB / 0.8163 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/0.7881, allocations: 0 / 0.8163 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.7881, allocations: 2.562 kB / 0.8163 GB, free: 2.023 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005525/0.7936, allocations: 2.13 MB / 0.8184 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.167e-06/0.7937, allocations: 0 / 0.8184 GB, free: 15.97 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000309/0.794, allocations: 63.89 kB / 0.8185 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001018/0.795, allocations: 302.3 kB / 0.8188 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.864e-05/0.795, allocations: 12 kB / 0.8188 GB, free: 15.6 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.7965, allocations: 0.9365 MB / 0.8197 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.7965, allocations: 0 / 0.8197 GB, free: 14.64 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003684/0.8002, allocations: 1.164 MB / 0.8208 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006786/0.8009, allocations: 187 kB / 0.821 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001669/0.801, allocations: 15.98 kB / 0.821 GB, free: 13.23 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008146/0.8018, allocations: 71.92 kB / 0.8211 GB, free: 13.16 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.364e-05/0.8019, allocations: 47.75 kB / 0.8211 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.562e-05/0.802, allocations: 23.98 kB / 0.8211 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.001268/0.8033, allocations: 0.7473 MB / 0.8219 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8033, allocations: 4 kB / 0.8219 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.001822/0.8051, allocations: 0.5731 MB / 0.8224 GB, free: 11.76 MB / 0.5919 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.0007922/0.8059, allocations: 363 kB / 0.8228 GB, free: 11.41 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.00317/0.809, allocations: 1.09 MB / 0.8239 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 4.368e-06/0.8091, allocations: 0 / 0.8239 GB, free: 10.32 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0008901/0.8099, allocations: 330.9 kB / 0.8242 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002416/0.8124, allocations: 0.5117 MB / 0.8247 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005545/0.8179, allocations: 2.083 MB / 0.8267 GB, free: 7.367 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007403/0.8186, allocations: 1.061 MB / 0.8277 GB, free: 6.273 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000292/0.8189, allocations: 83.41 kB / 0.8278 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of SimCode: time 1.573e-06/0.8189, allocations: 0 / 0.8278 GB, free: 6.191 MB / 0.5919 GB Notification: Performance of Templates: time 0.03908/0.858, allocations: 24.17 MB / 0.8514 GB, free: 14.19 MB / 0.6231 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.sim & ./IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.795934800989926] Failed to read output from testmodel.py, exit status != 0: 0.8675540068652481 0.8836274199999999 0.153468182 Calling exit ...