Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.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.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",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.001718/0.001718, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4711/0.4711, allocations: 90.8 MB / 104.5 MB, free: 9.793 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.325/1.325, allocations: 221.3 MB / 348.3 MB, free: 440 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008995/0.0008992, allocations: 99.38 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 2.992e-05/2.996e-05, allocations: 7.984 kB / 0.4897 GB, free: 5.277 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3692/0.3692, allocations: 72.29 MB / 0.5603 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.034/1.403, allocations: 386.8 MB / 0.938 GB, free: 231.1 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002786/1.404, allocations: 82.3 kB / 0.9381 GB, free: 231.1 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.894/3.298, allocations: 0.6494 GB / 1.588 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.184e-06/3.298, allocations: 4 kB / 1.588 GB, free: 43.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001287/3.298, allocations: 31.98 kB / 1.588 GB, free: 43.68 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003186/3.301, allocations: 1.474 MB / 1.589 GB, free: 42.14 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.824e-05/3.301, allocations: 19.92 kB / 1.589 GB, free: 42.12 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001651/3.301, allocations: 126.7 kB / 1.589 GB, free: 41.99 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002625/3.304, allocations: 442 kB / 1.59 GB, free: 41.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003187/3.307, allocations: 1.304 MB / 1.591 GB, free: 40.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004468/3.308, allocations: 134.8 kB / 1.591 GB, free: 40.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001515/3.308, allocations: 83.95 kB / 1.591 GB, free: 39.99 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001704/3.309, allocations: 0.8695 MB / 1.592 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.207e-05/3.309, allocations: 0 / 1.592 GB, free: 39.07 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/3.31, allocations: 32 kB / 1.592 GB, free: 39.04 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.46e-05/3.31, allocations: 29.98 kB / 1.592 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001475/3.311, allocations: 0.6482 MB / 1.593 GB, free: 38.36 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.005928/3.317, allocations: 4.711 MB / 1.597 GB, free: 33.34 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002321/3.319, allocations: 0.6866 MB / 1.598 GB, free: 32.64 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002587/3.32, allocations: 208.8 kB / 1.598 GB, free: 32.43 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004212/3.32, allocations: 0.9023 MB / 1.599 GB, free: 31.33 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.663e-05/3.32, allocations: 42.55 kB / 1.599 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 2.033e-06/3.32, allocations: 0 / 1.599 GB, free: 31.28 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.002204/3.322, allocations: 0.7624 MB / 1.6 GB, free: 30.51 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.094e-05/3.322, allocations: 63.39 kB / 1.6 GB, free: 30.43 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000952/3.323, allocations: 0.9027 MB / 1.601 GB, free: 29.52 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.558e-05/3.323, allocations: 33.7 kB / 1.601 GB, free: 29.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002648/3.324, allocations: 0.5317 MB / 1.601 GB, free: 28.94 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 7.807e-05/3.324, allocations: 149.8 kB / 1.601 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/3.324, allocations: 8 kB / 1.601 GB, free: 28.79 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.59e-05/3.324, allocations: 333.9 kB / 1.602 GB, free: 28.45 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002559/3.324, allocations: 181.1 kB / 1.602 GB, free: 28.28 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003563/3.324, allocations: 435.4 kB / 1.602 GB, free: 27.74 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002806/3.325, allocations: 219.1 kB / 1.602 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/3.325, allocations: 4 kB / 1.602 GB, free: 27.53 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002348/3.327, allocations: 0.93 MB / 1.603 GB, free: 26.59 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002659/3.327, allocations: 1.671 MB / 1.605 GB, free: 24.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.256e-06/3.327, allocations: 11.94 kB / 1.605 GB, free: 24.78 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007595/3.328, allocations: 254.1 kB / 1.605 GB, free: 24.54 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004475/3.329, allocations: 123.8 kB / 1.605 GB, free: 24.41 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000651/3.329, allocations: 0.8283 MB / 1.606 GB, free: 23.56 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001195/3.331, allocations: 199.2 kB / 1.606 GB, free: 23.37 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.195e-05/3.331, allocations: 31.92 kB / 1.606 GB, free: 23.34 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 8.196e-06/3.331, allocations: 4 kB / 1.606 GB, free: 23.33 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002215/3.333, allocations: 0.801 MB / 1.607 GB, free: 22.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/3.333, allocations: 4 kB / 1.607 GB, free: 22.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006215/3.333, allocations: 252.5 kB / 1.607 GB, free: 22.28 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000429/3.334, allocations: 123.8 kB / 1.608 GB, free: 22.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000598/3.335, allocations: 0.8192 MB / 1.608 GB, free: 21.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001043/3.336, allocations: 175.2 kB / 1.609 GB, free: 21.14 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/3.336, allocations: 35.98 kB / 1.609 GB, free: 21.11 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {2 15} Notification: Performance of prepare postOptimizeDAE: time 0.0001458/3.336, allocations: 133.1 kB / 1.609 GB, free: 20.97 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001271/3.336, allocations: 106.7 kB / 1.609 GB, free: 20.87 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002488/3.338, allocations: 0.9368 MB / 1.61 GB, free: 19.92 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/3.338, allocations: 8 kB / 1.61 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.6e-06/3.338, allocations: 0 / 1.61 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.823e-06/3.338, allocations: 3.984 kB / 1.61 GB, free: 19.91 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00358/3.342, allocations: 1.999 MB / 1.612 GB, free: 17.83 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/3.342, allocations: 4 kB / 1.612 GB, free: 17.82 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002401/3.342, allocations: 55.95 kB / 1.612 GB, free: 17.77 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006452/3.343, allocations: 273.5 kB / 1.612 GB, free: 17.5 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.304e-05/3.343, allocations: 11.95 kB / 1.612 GB, free: 17.49 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006321/3.344, allocations: 0.856 MB / 1.613 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/3.344, allocations: 3.938 kB / 1.613 GB, free: 16.61 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002304/3.346, allocations: 1.141 MB / 1.614 GB, free: 15.38 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004085/3.346, allocations: 275.5 kB / 1.614 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001116/3.347, allocations: 12 kB / 1.614 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008155/3.347, allocations: 111.8 kB / 1.614 GB, free: 14.97 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.075e-05/3.347, allocations: 43.84 kB / 1.614 GB, free: 14.93 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.241e-05/3.347, allocations: 23.98 kB / 1.614 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0007824/3.348, allocations: 0.7052 MB / 1.615 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.1e-07/3.348, allocations: 0 / 1.615 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001513/3.35, allocations: 0.6199 MB / 1.616 GB, free: 13.57 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (31): * Single equations (assignments): 26 * 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 {2 17} Notification: Performance of Backend phase and start with SimCode phase: time 0.00342/3.353, allocations: 2.798 MB / 1.618 GB, free: 10.73 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001534/3.355, allocations: 0.8656 MB / 1.619 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/3.355, allocations: 0 / 1.619 GB, free: 9.863 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0004947/3.355, allocations: 294.2 kB / 1.62 GB, free: 9.574 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001982/3.357, allocations: 0.4942 MB / 1.62 GB, free: 9.102 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004091/3.361, allocations: 1.82 MB / 1.622 GB, free: 7.211 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003734/3.362, allocations: 1.091 MB / 1.623 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001012/3.363, allocations: 270.8 kB / 1.623 GB, free: 5.844 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003517/3.363, allocations: 383.3 kB / 1.624 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of SimCode: time 3.61e-07/3.363, allocations: 0 / 1.624 GB, free: 5.469 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3997/3.763, allocations: 40.23 MB / 1.663 GB, free: 87.06 MB / 0.6198 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001312/3.763, allocations: 209.4 kB / 1.663 GB, free: 86.84 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.293/7.056, allocations: 0 / 1.663 GB, free: 86.84 MB / 0.6198 GB (rm -f IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > IBPSA_latest_IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)