Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") translateModel(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001173/0.001173, allocations: 116.4 kB / 17.05 MB, free: 6.051 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001163/0.001163, allocations: 196 kB / 17.99 MB, free: 5.133 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.338/1.338, allocations: 222.9 MB / 241.7 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7099/0.7099, allocations: 115.3 MB / 407.1 MB, free: 6.246 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 68.83 kB / 0.5582 GB, free: 32.32 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1847/0.1861, allocations: 76.17 MB / 0.6326 GB, free: 4.531 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.06829/0.2544, allocations: 75.15 MB / 0.706 GB, free: 9.105 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02125/0.2757, allocations: 15.16 MB / 0.7208 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003419/0.2792, allocations: 71.56 kB / 0.7209 GB, free: 9.824 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00288/0.2821, allocations: 0.8268 MB / 0.7217 GB, free: 8.992 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.008125/0.2903, allocations: 2.595 MB / 0.7242 GB, free: 6.387 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003731/0.294, allocations: 1.393 MB / 0.7256 GB, free: 5.004 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006235/0.3003, allocations: 4.394 MB / 0.7299 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002466/0.3027, allocations: 1.453 MB / 0.7313 GB, free: 15.12 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004371/0.3071, allocations: 1.638 MB / 0.7329 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002588/0.3097, allocations: 1.225 MB / 0.7341 GB, free: 12.25 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005639/0.3103, allocations: 160 kB / 0.7342 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003879/0.3142, allocations: 1.404 MB / 0.7356 GB, free: 10.69 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006946/0.3149, allocations: 402.6 kB / 0.736 GB, free: 10.29 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001858/0.3168, allocations: 0.8983 MB / 0.7369 GB, free: 9.391 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.3211, allocations: 2.871 MB / 0.7397 GB, free: 6.512 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.711e-06/0.3211, allocations: 4 kB / 0.7397 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.327e-06/0.3211, allocations: 0 / 0.7397 GB, free: 6.508 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.42e-05/0.3211, allocations: 0 / 0.7397 GB, free: 6.508 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.004354/0.3255, allocations: 2.079 MB / 0.7417 GB, free: 4.359 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.948e-05/0.3256, allocations: 16.03 kB / 0.7417 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008803/0.3265, allocations: 222.8 kB / 0.7419 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002546/0.329, allocations: 1.532 MB / 0.7434 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.69e-05/0.3291, allocations: 74 kB / 0.7435 GB, free: 2.465 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001522/0.3292, allocations: 100 kB / 0.7436 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001971/0.3312, allocations: 1.1 MB / 0.7447 GB, free: 1.234 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.002e-05/0.3313, allocations: 7.938 kB / 0.7447 GB, free: 1.227 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.207e-05/0.3314, allocations: 40 kB / 0.7447 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.924e-05/0.3314, allocations: 24 kB / 0.7447 GB, free: 1.164 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001817/0.3332, allocations: 0.8939 MB / 0.7456 GB, free: 272 kB / 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.4411/0.7744, allocations: 4.888 MB / 0.7504 GB, free: 107.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001539/0.7759, allocations: 0.6133 MB / 0.751 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007359/0.7767, allocations: 351.5 kB / 0.7513 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005091/0.7772, allocations: 0.8317 MB / 0.7521 GB, free: 106.6 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.77e-05/0.7773, allocations: 40.09 kB / 0.7522 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=61): time 4.197e-06/0.7773, allocations: 0.7969 kB / 0.7522 GB, free: 106.5 MB / 0.5762 GB Notification: Performance of matching and sorting (n=61): time 0.007473/0.7847, allocations: 1.689 MB / 0.7538 GB, free: 106.1 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.297e-05/0.7848, allocations: 57.59 kB / 0.7539 GB, free: 106 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002187/0.787, allocations: 1.238 MB / 0.7551 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001516/0.7872, allocations: 39.52 kB / 0.7551 GB, free: 105.5 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006915/0.7879, allocations: 0.6108 MB / 0.7557 GB, free: 105 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002772/0.7881, allocations: 214.1 kB / 0.7559 GB, free: 104.9 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003542/0.7885, allocations: 152.9 kB / 0.7561 GB, free: 104.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.000118/0.7886, allocations: 333.2 kB / 0.7564 GB, free: 104.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000878/0.7895, allocations: 290.2 kB / 0.7566 GB, free: 104.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001049/0.7906, allocations: 0.4884 MB / 0.7571 GB, free: 104 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001563/0.7922, allocations: 0.7157 MB / 0.7578 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/0.7922, allocations: 0 / 0.7578 GB, free: 103.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.005107/0.7973, allocations: 1.27 MB / 0.7591 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.473e-05/0.7973, allocations: 6.469 kB / 0.7591 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.461e-05/0.7973, allocations: 6.25 kB / 0.7591 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006608/0.798, allocations: 137.7 kB / 0.7592 GB, free: 103.3 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006198/0.7986, allocations: 161.4 kB / 0.7594 GB, free: 103.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000817/0.7995, allocations: 0.7053 MB / 0.76 GB, free: 102.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001229/0.8007, allocations: 115.7 kB / 0.7602 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.783e-05/0.8008, allocations: 33.86 kB / 0.7602 GB, free: 102.6 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001455/0.8023, allocations: 0.5529 MB / 0.7607 GB, free: 102.3 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009798/0.8033, allocations: 497.1 kB / 0.7612 GB, free: 102 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001436/0.8047, allocations: 0.7033 MB / 0.7619 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.996e-06/0.8047, allocations: 1.094 kB / 0.7619 GB, free: 101.6 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.004905/0.8096, allocations: 1.268 MB / 0.7631 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.688e-05/0.8097, allocations: 12.64 kB / 0.7631 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.8097, allocations: 3.688 kB / 0.7631 GB, free: 101.3 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005693/0.8103, allocations: 145.1 kB / 0.7633 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006019/0.8109, allocations: 156.6 kB / 0.7634 GB, free: 101.2 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006992/0.8116, allocations: 0.7006 MB / 0.7641 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001125/0.8127, allocations: 99.91 kB / 0.7642 GB, free: 100.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.875e-05/0.8128, allocations: 35 kB / 0.7642 GB, free: 100.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0002848/0.8131, allocations: 225.2 kB / 0.7645 GB, free: 100.4 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002365/0.8133, allocations: 131.6 kB / 0.7646 GB, free: 100.3 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004578/0.8179, allocations: 1.28 MB / 0.7658 GB, free: 99.65 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.818, allocations: 7.188 kB / 0.7658 GB, free: 99.65 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.818, allocations: 3.938 kB / 0.7658 GB, free: 99.65 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003957/0.8219, allocations: 1.097 MB / 0.7669 GB, free: 99.02 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00668/0.8286, allocations: 2.615 MB / 0.7695 GB, free: 97.24 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.646e-06/0.8287, allocations: 4.781 kB / 0.7695 GB, free: 97.24 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004811/0.8291, allocations: 118.7 kB / 0.7696 GB, free: 97.2 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004888/0.8296, allocations: 127.5 kB / 0.7697 GB, free: 97.14 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.571e-05/0.8297, allocations: 23.86 kB / 0.7697 GB, free: 97.13 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004678/0.8344, allocations: 2.627 MB / 0.7723 GB, free: 94.92 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.8344, allocations: 11.97 kB / 0.7723 GB, free: 94.91 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004973/0.8394, allocations: 1.701 MB / 0.774 GB, free: 93.9 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006519/0.84, allocations: 306.7 kB / 0.7743 GB, free: 93.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003382/0.8404, allocations: 15.88 kB / 0.7743 GB, free: 93.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009903/0.8414, allocations: 47.56 kB / 0.7743 GB, free: 93.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.8415, allocations: 69.38 kB / 0.7744 GB, free: 93.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.135e-05/0.8416, allocations: 31.73 kB / 0.7744 GB, free: 93.55 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001572/0.8432, allocations: 0.8807 MB / 0.7753 GB, free: 93.06 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.1e-07/0.8432, allocations: 0 / 0.7753 GB, free: 93.06 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.002617/0.8458, allocations: 0.7145 MB / 0.776 GB, free: 92.93 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001052/0.8469, allocations: 461.8 kB / 0.7764 GB, free: 92.73 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002554/0.8494, allocations: 1.121 MB / 0.7775 GB, free: 92.22 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.751e-06/0.8495, allocations: 3.219 kB / 0.7775 GB, free: 92.22 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00137/0.8508, allocations: 0.5589 MB / 0.7781 GB, free: 91.89 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003279/0.8541, allocations: 0.8157 MB / 0.7789 GB, free: 91.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003405/0.8575, allocations: 2.309 MB / 0.7811 GB, free: 88.86 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005063/0.8581, allocations: 1.164 MB / 0.7823 GB, free: 87.66 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002549/0.8583, allocations: 111.4 kB / 0.7824 GB, free: 87.55 MB / 0.5762 GB Notification: Performance of SimCode: time 7.61e-07/0.8583, allocations: 0 / 0.7824 GB, free: 87.55 MB / 0.5762 GB Notification: Performance of Templates: time 0.03659/0.8949, allocations: 31.16 MB / 0.8128 GB, free: 56.61 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.makefile (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.sim & ./IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)