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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.0009076/0.0009076, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.482/0.482, allocations: 90.91 MB / 99.34 MB, free: 2.219 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.352/1.352, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000935/0.000935, allocations: 93.91 kB / 415.9 MB, free: 11.14 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.676e-05/1.678e-05, allocations: 4 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.143, allocations: 72.32 MB / 0.5535 GB, free: 12.26 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.025/1.168, allocations: 382 MB / 0.9266 GB, free: 99.12 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002063/1.168, allocations: 93.25 kB / 0.9267 GB, free: 99.07 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.984/3.152, allocations: 0.5638 GB / 1.49 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.713e-06/3.152, allocations: 3.781 kB / 1.49 GB, free: 74.72 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001534/3.153, allocations: 42.19 kB / 1.49 GB, free: 74.72 MB / 0.6042 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.003525/3.156, allocations: 1.724 MB / 1.492 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.698e-05/3.156, allocations: 9.594 kB / 1.492 GB, free: 74.16 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008078/3.157, allocations: 243.3 kB / 1.492 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003445/3.161, allocations: 1.715 MB / 1.494 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.349e-05/3.161, allocations: 30.94 kB / 1.494 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001313/3.161, allocations: 59.25 kB / 1.494 GB, free: 73.77 MB / 0.6042 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001316/3.162, allocations: 0.696 MB / 1.495 GB, free: 73.76 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00154/3.164, allocations: 0.8813 MB / 1.496 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/3.164, allocations: 9.109 kB / 1.496 GB, free: 73.64 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.285e-05/3.164, allocations: 4.984 kB / 1.496 GB, free: 73.63 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.823e-05/3.164, allocations: 37.56 kB / 1.496 GB, free: 73.63 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005044/3.169, allocations: 4.497 MB / 1.5 GB, free: 71.82 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000839/3.17, allocations: 0.4973 MB / 1.501 GB, free: 71.79 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003467/3.17, allocations: 254.4 kB / 1.501 GB, free: 71.78 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004612/3.17, allocations: 0.826 MB / 1.502 GB, free: 70.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/3.171, allocations: 39.56 kB / 1.502 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.054e-06/3.171, allocations: 0 / 1.502 GB, free: 70.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.003846/3.174, allocations: 1.003 MB / 1.503 GB, free: 70.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.798e-05/3.174, allocations: 54.97 kB / 1.503 GB, free: 70.63 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001124/3.176, allocations: 0.8862 MB / 1.504 GB, free: 70.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 5.887e-05/3.176, allocations: 26.89 kB / 1.504 GB, free: 70.46 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004084/3.176, allocations: 0.6362 MB / 1.504 GB, free: 70.26 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001384/3.176, allocations: 201.7 kB / 1.504 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.872e-05/3.176, allocations: 0 / 1.504 GB, free: 70.16 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.755e-05/3.176, allocations: 331.9 kB / 1.505 GB, free: 69.85 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002531/3.177, allocations: 187.5 kB / 1.505 GB, free: 69.85 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003846/3.177, allocations: 420.1 kB / 1.505 GB, free: 69.61 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005774/3.178, allocations: 276.9 kB / 1.506 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.799e-06/3.178, allocations: 0.9375 kB / 1.506 GB, free: 69.6 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.003892/3.181, allocations: 1.126 MB / 1.507 GB, free: 69.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002503/3.182, allocations: 1.413 MB / 1.508 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/3.182, allocations: 3.312 kB / 1.508 GB, free: 68.03 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003758/3.182, allocations: 111.9 kB / 1.508 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005998/3.183, allocations: 158.1 kB / 1.508 GB, free: 68.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009852/3.184, allocations: 0.7546 MB / 1.509 GB, free: 67.5 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001112/3.185, allocations: 122.3 kB / 1.509 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.694e-05/3.185, allocations: 38.56 kB / 1.509 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.145e-06/3.185, allocations: 4.312 kB / 1.509 GB, free: 67.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003658/3.189, allocations: 0.9732 MB / 1.51 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.516e-06/3.189, allocations: 7.219 kB / 1.51 GB, free: 67.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002869/3.189, allocations: 109.8 kB / 1.51 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005672/3.189, allocations: 157.5 kB / 1.51 GB, free: 67.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009202/3.19, allocations: 0.7499 MB / 1.511 GB, free: 66.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00105/3.191, allocations: 111.6 kB / 1.511 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.607e-05/3.192, allocations: 34.55 kB / 1.511 GB, free: 66.92 MB / 0.6042 GB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: heaPum.COP:VARIABLE(min = 0.0 unit = "1" ) "Coefficient of performance" type: Real 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (72): * Single equations (assignments): 71 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of prepare postOptimizeDAE: time 0.0002342/3.192, allocations: 124.6 kB / 1.511 GB, free: 66.81 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002036/3.192, allocations: 120.7 kB / 1.512 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004127/3.196, allocations: 1.117 MB / 1.513 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.448e-05/3.196, allocations: 14.05 kB / 1.513 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.084e-06/3.196, allocations: 2.266 kB / 1.513 GB, free: 66.67 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003636/3.2, allocations: 1.026 MB / 1.514 GB, free: 66.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006043/3.206, allocations: 2.317 MB / 1.516 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.345e-06/3.206, allocations: 2.344 kB / 1.516 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004814/3.206, allocations: 124.8 kB / 1.516 GB, free: 66.09 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002801/3.207, allocations: 105.4 kB / 1.516 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.45e-05/3.207, allocations: 14.7 kB / 1.516 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003037/3.21, allocations: 2.173 MB / 1.518 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.012e-06/3.21, allocations: 3.594 kB / 1.518 GB, free: 64.72 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004327/3.214, allocations: 1.68 MB / 1.52 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000729/3.215, allocations: 305.2 kB / 1.52 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000189/3.215, allocations: 9.109 kB / 1.52 GB, free: 64.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000736/3.216, allocations: 69.89 kB / 1.52 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001138/3.216, allocations: 53.44 kB / 1.52 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.643e-05/3.216, allocations: 32.59 kB / 1.52 GB, free: 64.04 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009635/3.217, allocations: 0.6832 MB / 1.521 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.4e-07/3.217, allocations: 0 / 1.521 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002509/3.22, allocations: 0.7876 MB / 1.522 GB, free: 63.79 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * Number of discrete variables: 0 () * Number of discrete 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.001219/3.221, allocations: 0.7753 MB / 1.523 GB, free: 63.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002374/3.223, allocations: 1.019 MB / 1.524 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5e-06/3.223, allocations: 4.875 kB / 1.524 GB, free: 63.59 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001002/3.224, allocations: 0.4938 MB / 1.524 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/3.227, allocations: 0.5542 MB / 1.525 GB, free: 63.46 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002799/3.229, allocations: 1.711 MB / 1.526 GB, free: 62.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005154/3.23, allocations: 1.214 MB / 1.527 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001318/3.231, allocations: 336.3 kB / 1.528 GB, free: 62.16 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/3.231, allocations: 72.86 kB / 1.528 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of SimCode: time 3.9e-07/3.231, allocations: 0 / 1.528 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of Templates: time 0.03879/3.27, allocations: 27.53 MB / 1.555 GB, free: 60.77 MB / 0.6042 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)