Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.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: "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002154/0.002154, allocations: 184 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5735/0.5735, allocations: 91.98 MB / 108.5 MB, free: 13.08 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.513/1.513, allocations: 223.2 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009825/0.0009824, allocations: 96.22 kB / 427.4 MB, free: 3.969 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003869/0.0003868, allocations: 12 kB / 0.4983 GB, free: 42.24 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1654/0.1658, allocations: 72.31 MB / 0.5689 GB, free: 1.863 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.144/1.31, allocations: 386.9 MB / 0.9468 GB, free: 80.38 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002526/1.31, allocations: 94.88 kB / 0.9468 GB, free: 80.33 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.362/3.672, allocations: 0.6518 GB / 1.599 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/3.672, allocations: 0 / 1.599 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001181/3.672, allocations: 32.22 kB / 1.599 GB, free: 81.32 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.00359/3.676, allocations: 1.727 MB / 1.6 GB, free: 80.46 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.386e-05/3.676, allocations: 7.844 kB / 1.6 GB, free: 80.46 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/3.676, allocations: 132.8 kB / 1.601 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002265/3.678, allocations: 492.7 kB / 1.601 GB, free: 80.35 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00281/3.681, allocations: 1.319 MB / 1.602 GB, free: 80 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003203/3.682, allocations: 131.7 kB / 1.602 GB, free: 80 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001102/3.682, allocations: 87.44 kB / 1.602 GB, free: 80 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001958/3.684, allocations: 1.031 MB / 1.603 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/3.684, allocations: 6.219 kB / 1.603 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.839e-05/3.684, allocations: 28.34 kB / 1.604 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.977e-05/3.684, allocations: 34.28 kB / 1.604 GB, free: 79.86 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002239/3.686, allocations: 0.9952 MB / 1.605 GB, free: 79.85 MB / 0.6042 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.005487/3.692, allocations: 4.531 MB / 1.609 GB, free: 77.64 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003841/3.695, allocations: 1.116 MB / 1.61 GB, free: 77.61 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007034/3.696, allocations: 1.018 MB / 1.611 GB, free: 76.48 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.279e-05/3.696, allocations: 48.06 kB / 1.611 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 2.785e-06/3.696, allocations: 0 / 1.611 GB, free: 76.44 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.009754/3.706, allocations: 2.575 MB / 1.614 GB, free: 76.24 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.731e-05/3.706, allocations: 65.11 kB / 1.614 GB, free: 76.18 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001145/3.707, allocations: 0.8214 MB / 1.614 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.073e-05/3.707, allocations: 37.64 kB / 1.614 GB, free: 76.01 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003155/3.708, allocations: 0.5054 MB / 1.615 GB, free: 75.83 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001503/3.708, allocations: 183.2 kB / 1.615 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.543e-05/3.708, allocations: 13.5 kB / 1.615 GB, free: 75.71 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.678e-05/3.708, allocations: 326.3 kB / 1.615 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009099/3.709, allocations: 357.6 kB / 1.616 GB, free: 75.4 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009722/3.71, allocations: 0.5516 MB / 1.616 GB, free: 75.18 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008892/3.711, allocations: 385.3 kB / 1.617 GB, free: 75.18 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.278e-06/3.711, allocations: 0 / 1.617 GB, free: 75.18 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.004145/3.715, allocations: 1.316 MB / 1.618 GB, free: 75.08 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002326/3.715, allocations: 0.9705 MB / 1.619 GB, free: 74.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.011e-05/3.715, allocations: 3.844 kB / 1.619 GB, free: 74.08 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001518/3.717, allocations: 472.3 kB / 1.619 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005402/3.717, allocations: 116.3 kB / 1.62 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001768/3.719, allocations: 1.093 MB / 1.621 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001505/3.721, allocations: 169.2 kB / 1.621 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.91e-05/3.721, allocations: 31.03 kB / 1.621 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/3.721, allocations: 3.219 kB / 1.621 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004028/3.725, allocations: 1.203 MB / 1.622 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.765e-06/3.725, allocations: 3.312 kB / 1.622 GB, free: 73.48 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001547/3.726, allocations: 459.9 kB / 1.622 GB, free: 73.46 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005296/3.727, allocations: 116.8 kB / 1.623 GB, free: 73.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001712/3.729, allocations: 1.085 MB / 1.624 GB, free: 72.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001453/3.73, allocations: 168.2 kB / 1.624 GB, free: 72.87 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.848e-05/3.73, allocations: 30.44 kB / 1.624 GB, free: 72.87 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (46): * Single equations (assignments): 45 * 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 {3 16} Notification: Performance of prepare postOptimizeDAE: time 0.0009021/3.731, allocations: 352 kB / 1.624 GB, free: 72.68 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002332/3.731, allocations: 108.8 kB / 1.624 GB, free: 72.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004625/3.736, allocations: 1.483 MB / 1.626 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.37e-05/3.736, allocations: 8 kB / 1.626 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.202e-05/3.736, allocations: 0 / 1.626 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.242e-05/3.736, allocations: 6.047 kB / 1.626 GB, free: 72.49 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006831/3.743, allocations: 2.514 MB / 1.628 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.379e-05/3.743, allocations: 3.953 kB / 1.628 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000462/3.743, allocations: 102.9 kB / 1.628 GB, free: 72.05 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00136/3.745, allocations: 469.3 kB / 1.629 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-05/3.745, allocations: 18.62 kB / 1.629 GB, free: 72.02 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001697/3.746, allocations: 1.127 MB / 1.63 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.045e-06/3.746, allocations: 0 / 1.63 GB, free: 71.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00288/3.749, allocations: 1.357 MB / 1.631 GB, free: 71.08 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006019/3.75, allocations: 285.9 kB / 1.631 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/3.75, allocations: 16.56 kB / 1.631 GB, free: 70.92 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009893/3.751, allocations: 134.8 kB / 1.632 GB, free: 70.9 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.911e-05/3.751, allocations: 39.83 kB / 1.632 GB, free: 70.89 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.843e-05/3.751, allocations: 22.31 kB / 1.632 GB, free: 70.89 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009296/3.752, allocations: 0.6638 MB / 1.632 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.51e-07/3.752, allocations: 2.516 kB / 1.632 GB, free: 70.79 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001839/3.754, allocations: 0.6247 MB / 1.633 GB, free: 70.7 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (39): * Single equations (assignments): 35 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.004375/3.758, allocations: 2.883 MB / 1.636 GB, free: 69.24 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.004015/3.762, allocations: 1.378 MB / 1.637 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.371e-06/3.763, allocations: 0 / 1.637 GB, free: 69.18 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001196/3.764, allocations: 499.4 kB / 1.637 GB, free: 69.16 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002359/3.766, allocations: 0.5025 MB / 1.638 GB, free: 69.14 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01642/3.783, allocations: 8.444 MB / 1.646 GB, free: 65.33 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005796/3.783, allocations: 1.09 MB / 1.647 GB, free: 64.61 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001285/3.784, allocations: 214.3 kB / 1.647 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00051/3.785, allocations: 410.1 kB / 1.648 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of SimCode: time 2.295e-06/3.785, allocations: 0.5625 kB / 1.648 GB, free: 64.26 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06576/3.851, allocations: 39.15 MB / 1.686 GB, free: 42.15 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001971/3.851, allocations: 263 kB / 1.686 GB, free: 41.81 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.288/7.139, allocations: 0 / 1.686 GB, free: 41.81 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Validation_Carnot_TCon_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Validation.Carnot_TCon_reverseFlow.pipe 2>&1)