Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.855/2.855, allocations: 287.5 MB / 302.4 MB, free: 8.352 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001406/0.001406, allocations: 180.5 kB / 371 MB, free: 10.89 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.341/2.341, allocations: 205.4 MB / 0.6297 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009561/0.0009556, allocations: 93.55 kB / 0.743 GB, free: 6.621 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005093, allocations: 13.2 kB / 0.8659 GB, free: 140.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.245/0.2456, allocations: 115.3 MB / 0.9784 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.09272/0.3383, allocations: 56.51 MB / 1.034 GB, free: 3.633 MB / 0.6511 GB Notification: Performance of NFInst.instExpressions: time 0.02482/0.3632, allocations: 11.14 MB / 1.045 GB, free: 8.473 MB / 0.6667 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002546/0.3658, allocations: 55.62 kB / 1.045 GB, free: 8.418 MB / 0.6667 GB Notification: Performance of NFTyping.typeComponents: time 0.002706/0.3686, allocations: 464.9 kB / 1.045 GB, free: 7.961 MB / 0.6667 GB Notification: Performance of NFTyping.typeBindings: time 0.007348/0.376, allocations: 1.516 MB / 1.046 GB, free: 6.438 MB / 0.6667 GB Notification: Performance of NFTyping.typeClassSections: time 0.004559/0.3806, allocations: 0.8761 MB / 1.047 GB, free: 5.57 MB / 0.6667 GB Notification: Performance of NFFlatten.flatten: time 0.006981/0.3876, allocations: 3.39 MB / 1.051 GB, free: 2.168 MB / 0.6667 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002392/0.3901, allocations: 0.7821 MB / 1.051 GB, free: 1.363 MB / 0.6667 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003983/0.3941, allocations: 1.05 MB / 1.052 GB, free: 316 kB / 0.6667 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002555/0.3967, allocations: 0.8088 MB / 1.053 GB, free: 15.5 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 0.0004726/0.3973, allocations: 44 kB / 1.053 GB, free: 15.45 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004606/0.4019, allocations: 1.095 MB / 1.054 GB, free: 14.36 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0006653/0.4026, allocations: 199 kB / 1.055 GB, free: 14.16 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.000781/0.4034, allocations: 285 kB / 1.055 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.004233/0.4077, allocations: 1.641 MB / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 9.137e-06/0.4078, allocations: 0 / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.286e-06/0.4078, allocations: 0 / 1.056 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.389e-05/0.4078, allocations: 0 / 1.056 GB, free: 12.23 MB / 0.6823 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.005157/0.413, allocations: 1.501 MB / 1.058 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.632e-05/0.4131, allocations: 8.031 kB / 1.058 GB, free: 10.66 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004695/0.4136, allocations: 130.7 kB / 1.058 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004062/0.4176, allocations: 477.8 kB / 1.058 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003989/0.4217, allocations: 1.094 MB / 1.06 GB, free: 8.906 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007189/0.4225, allocations: 121.9 kB / 1.06 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003336/0.4228, allocations: 88 kB / 1.06 GB, free: 8.703 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003913/0.4268, allocations: 0.9995 MB / 1.061 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.03e-05/0.4268, allocations: 0 / 1.061 GB, free: 7.664 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001388/0.427, allocations: 32 kB / 1.061 GB, free: 7.633 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.14e-05/0.427, allocations: 20 kB / 1.061 GB, free: 7.613 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004778/0.4318, allocations: 0.9289 MB / 1.062 GB, free: 6.688 MB / 0.6823 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.01224/0.4441, allocations: 4.623 MB / 1.066 GB, free: 1.75 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.006791/0.451, allocations: 0.9365 MB / 1.067 GB, free: 0.8047 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001605/0.4526, allocations: 346 kB / 1.067 GB, free: 476 kB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.6601/1.113, allocations: 0.8983 MB / 1.068 GB, free: 90.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.645e-05/1.113, allocations: 41.27 kB / 1.068 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=47): time 3.767e-06/1.113, allocations: 0 / 1.068 GB, free: 90.51 MB / 0.6823 GB Notification: Performance of matching and sorting (n=47): time 0.01635/1.129, allocations: 2.005 MB / 1.07 GB, free: 90.37 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.902e-05/1.129, allocations: 59.8 kB / 1.07 GB, free: 90.3 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003418/1.133, allocations: 1.048 MB / 1.071 GB, free: 90.06 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001898/1.133, allocations: 40.3 kB / 1.071 GB, free: 90.02 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006973/1.134, allocations: 0.5183 MB / 1.072 GB, free: 89.68 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/1.134, allocations: 163.2 kB / 1.072 GB, free: 89.58 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.969e-05/1.134, allocations: 15.25 kB / 1.072 GB, free: 89.57 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.481e-05/1.134, allocations: 327.9 kB / 1.072 GB, free: 89.25 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00191/1.136, allocations: 333.6 kB / 1.073 GB, free: 89.17 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00221/1.138, allocations: 0.5356 MB / 1.073 GB, free: 88.85 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001997/1.14, allocations: 371.2 kB / 1.074 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-05/1.141, allocations: 7 kB / 1.074 GB, free: 88.75 MB / 0.6823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00764/1.148, allocations: 1.224 MB / 1.075 GB, free: 88.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001441/1.148, allocations: 204.7 kB / 1.075 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.478e-05/1.148, allocations: 3.75 kB / 1.075 GB, free: 88.17 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002428/1.151, allocations: 327 kB / 1.075 GB, free: 88.1 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/1.152, allocations: 138.7 kB / 1.075 GB, free: 88.09 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002752/1.155, allocations: 0.9447 MB / 1.076 GB, free: 87.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002669/1.158, allocations: 194.2 kB / 1.077 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000256/1.158, allocations: 34.11 kB / 1.077 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.158, allocations: 3.719 kB / 1.077 GB, free: 87.36 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006906/1.165, allocations: 1.089 MB / 1.078 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.155e-05/1.165, allocations: 11.31 kB / 1.078 GB, free: 87.04 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002164/1.167, allocations: 318.6 kB / 1.078 GB, free: 86.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001199/1.168, allocations: 137.2 kB / 1.078 GB, free: 86.95 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002624/1.171, allocations: 0.9267 MB / 1.079 GB, free: 86.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002341/1.173, allocations: 176.7 kB / 1.079 GB, free: 86.24 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002255/1.174, allocations: 33.55 kB / 1.079 GB, free: 86.23 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.000895/1.175, allocations: 351.3 kB / 1.08 GB, free: 85.95 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004076/1.175, allocations: 112 kB / 1.08 GB, free: 85.89 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007592/1.183, allocations: 1.24 MB / 1.081 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-05/1.183, allocations: 6.203 kB / 1.081 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.139e-05/1.183, allocations: 0.6875 kB / 1.081 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.293e-05/1.183, allocations: 3.281 kB / 1.081 GB, free: 85.51 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01053/1.193, allocations: 2.32 MB / 1.083 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.058e-05/1.194, allocations: 1.375 kB / 1.083 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006806/1.194, allocations: 78.47 kB / 1.083 GB, free: 84.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001996/1.196, allocations: 327.6 kB / 1.084 GB, free: 84.4 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001266/1.196, allocations: 12.78 kB / 1.084 GB, free: 84.39 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002548/1.199, allocations: 0.9709 MB / 1.084 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.035e-06/1.199, allocations: 11.34 kB / 1.084 GB, free: 83.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008897/1.208, allocations: 1.454 MB / 1.086 GB, free: 83.14 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00101/1.209, allocations: 290.2 kB / 1.086 GB, free: 82.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003121/1.209, allocations: 8.672 kB / 1.086 GB, free: 82.92 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002013/1.211, allocations: 118.1 kB / 1.086 GB, free: 82.9 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001978/1.212, allocations: 38.25 kB / 1.086 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001283/1.212, allocations: 23.77 kB / 1.086 GB, free: 82.89 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002316/1.214, allocations: 0.736 MB / 1.087 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.322e-06/1.214, allocations: 0 / 1.087 GB, free: 82.57 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.002725/1.217, allocations: 0.5616 MB / 1.088 GB, free: 82.48 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.008879/1.226, allocations: 2.119 MB / 1.09 GB, free: 81.36 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006546/1.232, allocations: 1.209 MB / 1.091 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.207e-05/1.232, allocations: 1.188 kB / 1.091 GB, free: 81.03 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001959/1.234, allocations: 392.4 kB / 1.091 GB, free: 80.91 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005189/1.24, allocations: 0.5275 MB / 1.092 GB, free: 80.77 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02937/1.269, allocations: 6.924 MB / 1.099 GB, free: 77.33 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009159/1.27, allocations: 1.065 MB / 1.1 GB, free: 76.6 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.002057/1.272, allocations: 231 kB / 1.1 GB, free: 76.55 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001093/1.273, allocations: 411.4 kB / 1.1 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of SimCode: time 1.653e-06/1.273, allocations: 0 / 1.1 GB, free: 76.24 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.102/1.375, allocations: 33.93 MB / 1.133 GB, free: 52.36 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002812/1.376, allocations: 252.8 kB / 1.134 GB, free: 52.02 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.261/5.637, allocations: 6.5 kB / 1.134 GB, free: 52.02 MB / 0.6823 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > Buildings_8.0.0_Buildings.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1)