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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 96.89 kB / 15.69 MB, free: 480 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 178.7 kB / 16.57 MB, free: 6.398 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.372/1.372, allocations: 223.2 MB / 240.5 MB, free: 5.438 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7002/0.7002, allocations: 113.7 MB / 405.3 MB, free: 4.676 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004718/0.0004721, allocations: 12 kB / 493 MB, free: 8.586 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1868, allocations: 77.11 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_y): time 0.5043/0.6911, allocations: 62.93 MB / 0.6182 GB, free: 196 kB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.02832/0.7195, allocations: 12.99 MB / 0.6309 GB, free: 6.961 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.004181/0.7237, allocations: 52.94 kB / 0.6309 GB, free: 6.938 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.003803/0.7276, allocations: 0.745 MB / 0.6316 GB, free: 6.516 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.009765/0.7374, allocations: 2.414 MB / 0.634 GB, free: 4.82 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005403/0.7428, allocations: 1.523 MB / 0.6355 GB, free: 3.824 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.005624/0.7484, allocations: 2.529 MB / 0.638 GB, free: 2.148 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00189/0.7504, allocations: 1.046 MB / 0.639 GB, free: 1.512 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.003059/0.7534, allocations: 1.169 MB / 0.6401 GB, free: 0.7852 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001972/0.7554, allocations: 0.7797 MB / 0.6409 GB, free: 340 kB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002029/0.7557, allocations: 52.81 kB / 0.6409 GB, free: 340 kB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003863/0.7595, allocations: 0.8409 MB / 0.6417 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000431/0.76, allocations: 263.5 kB / 0.642 GB, free: 15.79 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007974/0.7608, allocations: 355.9 kB / 0.6423 GB, free: 15.59 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0035/0.7643, allocations: 2.014 MB / 0.6443 GB, free: 14.2 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.938e-06/0.7643, allocations: 0 / 0.6443 GB, free: 14.2 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.364e-06/0.7643, allocations: 0 / 0.6443 GB, free: 14.2 MB / 478.1 MB Notification: Performance of Transformations before backend: time 4.753e-05/0.7644, allocations: 0 / 0.6443 GB, free: 14.2 MB / 478.1 MB 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.004785/0.7692, allocations: 1.787 MB / 0.6461 GB, free: 12.84 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.908e-05/0.7692, allocations: 9.625 kB / 0.6461 GB, free: 12.84 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003121/0.7696, allocations: 147.9 kB / 0.6462 GB, free: 12.71 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009913/0.7706, allocations: 239.4 kB / 0.6464 GB, free: 12.61 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.7745, allocations: 1.38 MB / 0.6478 GB, free: 11.5 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001007/0.7746, allocations: 73.75 kB / 0.6478 GB, free: 11.47 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002271/0.7749, allocations: 103.1 kB / 0.6479 GB, free: 11.44 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002842/0.7777, allocations: 1.115 MB / 0.649 GB, free: 10.75 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.299e-05/0.7778, allocations: 3.938 kB / 0.649 GB, free: 10.74 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001137/0.7779, allocations: 41.22 kB / 0.6491 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-05/0.778, allocations: 27.75 kB / 0.6491 GB, free: 10.71 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002188/0.7802, allocations: 0.9299 MB / 0.65 GB, free: 10.25 MB / 478.1 MB 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.009557/0.7897, allocations: 4.956 MB / 0.6549 GB, free: 5.02 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002073/0.7919, allocations: 0.6244 MB / 0.6555 GB, free: 4.387 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001042/0.7929, allocations: 0.8316 MB / 0.6563 GB, free: 3.371 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.407e-05/0.793, allocations: 47.11 kB / 0.6563 GB, free: 3.316 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 3.377e-06/0.793, allocations: 0 / 0.6563 GB, free: 3.316 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.009987/0.803, allocations: 1.889 MB / 0.6582 GB, free: 1.402 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.73e-05/0.8032, allocations: 55.97 kB / 0.6582 GB, free: 1.336 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003055/0.8062, allocations: 1.249 MB / 0.6594 GB, free: 72 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0002438/0.8065, allocations: 45.7 kB / 0.6595 GB, free: 20 kB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0008722/0.8074, allocations: 0.591 MB / 0.6601 GB, free: 15.42 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0003019/0.8077, allocations: 224.8 kB / 0.6603 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.253e-05/0.8078, allocations: 16 kB / 0.6603 GB, free: 15.18 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000168/0.8079, allocations: 330 kB / 0.6606 GB, free: 14.86 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007549/0.8087, allocations: 297.8 kB / 0.6609 GB, free: 14.57 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000867/0.8096, allocations: 0.5007 MB / 0.6614 GB, free: 13.99 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001073/0.8107, allocations: 359 kB / 0.6617 GB, free: 13.64 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.136e-05/0.8107, allocations: 4 kB / 0.6617 GB, free: 13.63 MB / 494.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.007318/0.818, allocations: 1.394 MB / 0.6631 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0008777/0.8189, allocations: 1.419 MB / 0.6645 GB, free: 10.72 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.041e-05/0.819, allocations: 4 kB / 0.6645 GB, free: 10.71 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007968/0.8198, allocations: 152.6 kB / 0.6646 GB, free: 10.56 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007534/0.8206, allocations: 167.8 kB / 0.6648 GB, free: 10.4 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009435/0.8215, allocations: 0.7123 MB / 0.6655 GB, free: 9.66 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001949/0.8235, allocations: 170.9 kB / 0.6656 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8236, allocations: 35.98 kB / 0.6657 GB, free: 9.457 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.589e-05/0.8236, allocations: 6.188 kB / 0.6657 GB, free: 9.453 MB / 494.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.005881/0.8295, allocations: 1.249 MB / 0.6669 GB, free: 8.199 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.8296, allocations: 4.359 kB / 0.6669 GB, free: 8.195 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007933/0.8304, allocations: 144.8 kB / 0.667 GB, free: 8.051 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001147/0.8316, allocations: 163.8 kB / 0.6672 GB, free: 7.891 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001394/0.833, allocations: 0.724 MB / 0.6679 GB, free: 7.141 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002374/0.8354, allocations: 155.2 kB / 0.6681 GB, free: 6.988 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001519/0.8356, allocations: 39.92 kB / 0.6681 GB, free: 6.949 MB / 494.1 MB 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 (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.001265/0.8368, allocations: 416.9 kB / 0.6685 GB, free: 6.531 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/0.8374, allocations: 138.4 kB / 0.6686 GB, free: 6.395 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007494/0.8449, allocations: 1.4 MB / 0.67 GB, free: 4.977 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.011e-05/0.845, allocations: 4 kB / 0.67 GB, free: 4.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.285e-05/0.845, allocations: 8 kB / 0.67 GB, free: 4.965 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.007198/0.8522, allocations: 1.232 MB / 0.6712 GB, free: 3.703 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01082/0.8631, allocations: 2.754 MB / 0.6739 GB, free: 0.832 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.509e-05/0.8631, allocations: 4 kB / 0.6739 GB, free: 0.8281 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008393/0.864, allocations: 124.2 kB / 0.674 GB, free: 0.707 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008594/0.8649, allocations: 137.8 kB / 0.6741 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.401e-05/0.865, allocations: 19.98 kB / 0.6742 GB, free: 0.5508 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.007452/0.8724, allocations: 2.546 MB / 0.6766 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.428e-06/0.8725, allocations: 7.984 kB / 0.6767 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006898/0.8794, allocations: 2.054 MB / 0.6787 GB, free: 11.57 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001434/0.8809, allocations: 347.1 kB / 0.679 GB, free: 11.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003104/0.8812, allocations: 20.06 kB / 0.679 GB, free: 11.2 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001526/0.8828, allocations: 95.73 kB / 0.6791 GB, free: 11.1 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001956/0.883, allocations: 60.42 kB / 0.6792 GB, free: 11.04 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000112/0.8831, allocations: 40.3 kB / 0.6792 GB, free: 11 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.002044/0.8851, allocations: 0.8974 MB / 0.6801 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of sort global known variables: time 4.11e-07/0.8852, allocations: 0 / 0.6801 GB, free: 10.11 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.003259/0.8884, allocations: 0.7213 MB / 0.6808 GB, free: 9.383 MB / 0.4981 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 (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.009176/0.8976, allocations: 3.848 MB / 0.6845 GB, free: 5.418 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.004222/0.9019, allocations: 1.161 MB / 0.6857 GB, free: 4.262 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 8.867e-06/0.9019, allocations: 4.062 kB / 0.6857 GB, free: 4.258 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.002413/0.9044, allocations: 0.5992 MB / 0.6863 GB, free: 3.648 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00492/0.9093, allocations: 0.7505 MB / 0.687 GB, free: 2.914 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008992/0.9183, allocations: 5.943 MB / 0.6928 GB, free: 12.8 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009839/0.9194, allocations: 1.206 MB / 0.694 GB, free: 11.57 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.00154/0.9209, allocations: 307 kB / 0.6943 GB, free: 11.26 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006864/0.9216, allocations: 0.5071 MB / 0.6948 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of SimCode: time 1.012e-06/0.9217, allocations: 4 kB / 0.6948 GB, free: 10.75 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08249/1.004, allocations: 41.99 MB / 0.7358 GB, free: 1.266 MB / 0.545 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002127/1.004, allocations: 235.2 kB / 0.736 GB, free: 1.031 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.379/4.383, allocations: 0 / 0.736 GB, free: 1.031 MB / 0.545 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: