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/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009862/0.000986, allocations: 96.73 kB / 15.68 MB, free: 488 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.0009462/0.0009462, allocations: 175 kB / 16.57 MB, free: 6.801 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.327/1.327, allocations: 223.2 MB / 240.5 MB, free: 5.355 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7004/0.7004, allocations: 113.7 MB / 405.3 MB, free: 4.66 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003027/0.0003027, allocations: 8 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1696/0.1699, allocations: 77.12 MB / 0.5567 GB, free: 11.68 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3827/0.5527, allocations: 51.24 MB / 0.6068 GB, free: 8.488 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.01577/0.5685, allocations: 10.31 MB / 0.6168 GB, free: 1.168 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.002713/0.5713, allocations: 50 kB / 0.6169 GB, free: 1.145 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00246/0.5738, allocations: 0.6283 MB / 0.6175 GB, free: 0.7891 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.007427/0.5812, allocations: 1.95 MB / 0.6194 GB, free: 15.52 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.005194/0.5864, allocations: 1.306 MB / 0.6207 GB, free: 14.9 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.006088/0.5925, allocations: 1.847 MB / 0.6225 GB, free: 13.89 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.002361/0.5949, allocations: 0.8128 MB / 0.6233 GB, free: 13.57 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.004343/0.5993, allocations: 0.9864 MB / 0.6242 GB, free: 13.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.002419/0.6017, allocations: 0.5932 MB / 0.6248 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002765/0.6021, allocations: 42.59 kB / 0.6248 GB, free: 12.8 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004655/0.6067, allocations: 0.981 MB / 0.6258 GB, free: 12.54 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003374/0.6071, allocations: 194.8 kB / 0.626 GB, free: 12.43 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008084/0.6079, allocations: 291.1 kB / 0.6263 GB, free: 12.26 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003322/0.6112, allocations: 1.58 MB / 0.6278 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.6113, allocations: 0 / 0.6278 GB, free: 11.29 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.883e-06/0.6113, allocations: 0 / 0.6278 GB, free: 11.29 MB / 462.1 MB Notification: Performance of Transformations before backend: time 3.125e-05/0.6113, allocations: 0 / 0.6278 GB, free: 11.29 MB / 462.1 MB 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.003408/0.6147, allocations: 1.48 MB / 0.6293 GB, free: 10.13 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.524e-05/0.6148, allocations: 9.625 kB / 0.6293 GB, free: 10.13 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002253/0.615, allocations: 131.4 kB / 0.6294 GB, free: 10.02 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003228/0.6183, allocations: 469.9 kB / 0.6298 GB, free: 9.828 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.6213, allocations: 1.053 MB / 0.6309 GB, free: 8.969 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004903/0.6218, allocations: 128 kB / 0.631 GB, free: 8.922 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001675/0.622, allocations: 83.52 kB / 0.6311 GB, free: 8.895 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002943/0.625, allocations: 0.9942 MB / 0.632 GB, free: 8.262 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.525e-05/0.625, allocations: 5.125 kB / 0.632 GB, free: 8.258 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001196/0.6251, allocations: 31.88 kB / 0.6321 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.944e-05/0.6252, allocations: 19.28 kB / 0.6321 GB, free: 8.234 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003362/0.6286, allocations: 0.9103 MB / 0.633 GB, free: 7.809 MB / 462.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.01007/0.6386, allocations: 4.925 MB / 0.6378 GB, free: 3.438 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00439/0.6431, allocations: 0.9042 MB / 0.6387 GB, free: 3.027 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0008121/0.6439, allocations: 0.9005 MB / 0.6396 GB, free: 1.965 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.842e-05/0.644, allocations: 40.94 kB / 0.6396 GB, free: 1.918 MB / 462.1 MB Notification: Performance of pre-optimization done (n=43): time 3.626e-06/0.644, allocations: 0 / 0.6396 GB, free: 1.918 MB / 462.1 MB Notification: Performance of matching and sorting (n=43): time 0.009495/0.6535, allocations: 2.14 MB / 0.6417 GB, free: 0.9297 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.6536, allocations: 58.88 kB / 0.6417 GB, free: 0.8633 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001786/0.6554, allocations: 1.06 MB / 0.6428 GB, free: 276 kB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 0.0001029/0.6555, allocations: 39.86 kB / 0.6428 GB, free: 236 kB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005459/0.656, allocations: 0.5273 MB / 0.6433 GB, free: 15.76 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001442/0.6562, allocations: 149 kB / 0.6435 GB, free: 15.63 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.153e-05/0.6562, allocations: 11.31 kB / 0.6435 GB, free: 15.62 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001311/0.6564, allocations: 328.4 kB / 0.6438 GB, free: 15.3 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008914/0.6573, allocations: 318.9 kB / 0.6441 GB, free: 15.16 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001032/0.6583, allocations: 0.5271 MB / 0.6446 GB, free: 14.75 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009395/0.6593, allocations: 357.1 kB / 0.645 GB, free: 14.59 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.44e-06/0.6593, allocations: 3.281 kB / 0.645 GB, free: 14.59 MB / 478.1 MB Notification: Performance of matching and sorting (n=65) (initialization): time 0.00396/0.6633, allocations: 1.217 MB / 0.6461 GB, free: 13.55 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 0.0007059/0.664, allocations: 1.674 MB / 0.6478 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.137e-05/0.664, allocations: 4 kB / 0.6478 GB, free: 11.75 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001324/0.6653, allocations: 336.6 kB / 0.6481 GB, free: 11.42 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005525/0.6659, allocations: 131.8 kB / 0.6482 GB, free: 11.29 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001593/0.6675, allocations: 0.9365 MB / 0.6491 GB, free: 10.33 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/0.6692, allocations: 199.1 kB / 0.6493 GB, free: 10.13 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.86e-05/0.6692, allocations: 27.98 kB / 0.6494 GB, free: 10.11 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.212e-05/0.6693, allocations: 7.938 kB / 0.6494 GB, free: 10.1 MB / 478.1 MB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003327/0.6726, allocations: 1.082 MB / 0.6504 GB, free: 9.012 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.686e-06/0.6726, allocations: 8 kB / 0.6504 GB, free: 9.004 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001135/0.6738, allocations: 312.8 kB / 0.6507 GB, free: 8.695 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005581/0.6743, allocations: 127.9 kB / 0.6509 GB, free: 8.57 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.6759, allocations: 0.9436 MB / 0.6518 GB, free: 7.602 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001496/0.6774, allocations: 163.4 kB / 0.6519 GB, free: 7.441 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.228e-05/0.6774, allocations: 31.98 kB / 0.652 GB, free: 7.41 MB / 478.1 MB 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (51): * Single equations (assignments): 50 * 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.0006782/0.6781, allocations: 352.9 kB / 0.6523 GB, free: 7.055 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002269/0.6784, allocations: 106.7 kB / 0.6524 GB, free: 6.949 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004478/0.6829, allocations: 1.198 MB / 0.6536 GB, free: 5.742 MB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.101e-05/0.6829, allocations: 11.98 kB / 0.6536 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.454e-06/0.6829, allocations: 0 / 0.6536 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.983e-06/0.6829, allocations: 0 / 0.6536 GB, free: 5.73 MB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005865/0.6888, allocations: 2.288 MB / 0.6558 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.6889, allocations: 0 / 0.6558 GB, free: 3.359 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000301/0.6892, allocations: 72.23 kB / 0.6559 GB, free: 3.289 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.00114/0.6903, allocations: 328.5 kB / 0.6562 GB, free: 2.965 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.671e-05/0.6904, allocations: 12 kB / 0.6562 GB, free: 2.953 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00161/0.692, allocations: 0.9738 MB / 0.6572 GB, free: 1.957 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.714e-06/0.692, allocations: 7.938 kB / 0.6572 GB, free: 1.949 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004016/0.696, allocations: 1.363 MB / 0.6585 GB, free: 0.4922 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0008338/0.6969, allocations: 291.4 kB / 0.6588 GB, free: 192 kB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001518/0.697, allocations: 15.94 kB / 0.6588 GB, free: 176 kB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009387/0.698, allocations: 111.9 kB / 0.6589 GB, free: 64 kB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.977e-05/0.6981, allocations: 31.95 kB / 0.6589 GB, free: 32 kB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.751e-05/0.6982, allocations: 23.98 kB / 0.659 GB, free: 8 kB / 478.1 MB Notification: Performance of sorting global known variables: time 0.001285/0.6994, allocations: 0.7467 MB / 0.6597 GB, free: 15.25 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.6995, allocations: 0 / 0.6597 GB, free: 15.25 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.001805/0.7013, allocations: 0.5574 MB / 0.6602 GB, free: 14.7 MB / 494.1 MB 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 (33): * Single equations (assignments): 28 * 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.005085/0.7064, allocations: 2.804 MB / 0.663 GB, free: 11.81 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.003278/0.7097, allocations: 1.159 MB / 0.6641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 6.913e-06/0.7097, allocations: 0 / 0.6641 GB, free: 10.66 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0009476/0.7106, allocations: 370.5 kB / 0.6644 GB, free: 10.29 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002782/0.7134, allocations: 0.4926 MB / 0.6649 GB, free: 9.812 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009314/0.7228, allocations: 5.939 MB / 0.6707 GB, free: 3.699 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008172/0.7236, allocations: 1.085 MB / 0.6718 GB, free: 2.586 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.001261/0.7249, allocations: 220.7 kB / 0.672 GB, free: 2.367 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000577/0.7255, allocations: 407.3 kB / 0.6724 GB, free: 1.969 MB / 494.1 MB Notification: Performance of SimCode: time 1.473e-06/0.7255, allocations: 0 / 0.6724 GB, free: 1.969 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06939/0.7949, allocations: 32.91 MB / 0.7045 GB, free: 1.512 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003074/0.7953, allocations: 243.3 kB / 0.7048 GB, free: 1.27 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.375/4.17, allocations: 0 / 0.7048 GB, free: 1.27 MB / 0.5137 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) Environment - environmentSimulation: