Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildSysPro_BuildSysPro.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/BuildSysPro 3.5.0-master/package.mo", uses=false) Using package BuildSysPro with version 3.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.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(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon,fileNamePrefix="BuildSysPro_BuildSysPro_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.0006763/0.0006762, allocations: 91.22 kB / 15.06 MB, free: 1.094 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0008265/0.0008265, allocations: 172.7 kB / 15.95 MB, free: 204 kB / 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.3 MB / 240 MB, free: 5.441 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9551/0.9551, allocations: 143.4 MB / 434.4 MB, free: 13.65 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004043/0.0004044, allocations: 12 kB / 0.5161 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1677/0.1682, allocations: 83.42 MB / 0.5975 GB, free: 7.703 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.344/0.5122, allocations: 56.45 MB / 0.6527 GB, free: 8.395 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01253/0.5248, allocations: 11.24 MB / 0.6636 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001888/0.5267, allocations: 53.97 kB / 0.6637 GB, free: 288 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001498/0.5282, allocations: 458.2 kB / 0.6641 GB, free: 32 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.004831/0.5331, allocations: 1.527 MB / 0.6656 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.00278/0.5359, allocations: 0.8598 MB / 0.6665 GB, free: 14.74 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.005242/0.5411, allocations: 3.386 MB / 0.6698 GB, free: 13.28 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001712/0.5429, allocations: 0.792 MB / 0.6705 GB, free: 12.97 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002871/0.5458, allocations: 1.041 MB / 0.6716 GB, free: 12.53 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001653/0.5474, allocations: 0.7978 MB / 0.6723 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001751/0.5476, allocations: 41.44 kB / 0.6724 GB, free: 12.2 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002984/0.5506, allocations: 1.093 MB / 0.6734 GB, free: 11.87 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.000328/0.551, allocations: 206.7 kB / 0.6736 GB, free: 11.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0005561/0.5515, allocations: 277.5 kB / 0.6739 GB, free: 11.59 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002832/0.5544, allocations: 1.73 MB / 0.6756 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 6.632e-06/0.5544, allocations: 1.469 kB / 0.6756 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5544, allocations: 0 / 0.6756 GB, free: 11.18 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 4.703e-05/0.5545, allocations: 0 / 0.6756 GB, free: 11.18 MB / 0.5137 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.003196/0.5577, allocations: 1.497 MB / 0.6771 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.513e-05/0.5577, allocations: 13.09 kB / 0.6771 GB, free: 10.16 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002121/0.5579, allocations: 122.2 kB / 0.6772 GB, free: 10.07 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002106/0.56, allocations: 470.2 kB / 0.6776 GB, free: 9.984 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002537/0.5626, allocations: 1.084 MB / 0.6787 GB, free: 9.316 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003483/0.563, allocations: 141 kB / 0.6788 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001352/0.5631, allocations: 85.94 kB / 0.6789 GB, free: 9.246 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002244/0.5654, allocations: 0.9982 MB / 0.6799 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.92e-05/0.5654, allocations: 0 / 0.6799 GB, free: 8.789 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.174e-05/0.5655, allocations: 31.41 kB / 0.6799 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.358e-05/0.5655, allocations: 19.84 kB / 0.6799 GB, free: 8.766 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002558/0.5681, allocations: 0.9133 MB / 0.6808 GB, free: 8.477 MB / 0.5137 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.007623/0.5757, allocations: 4.903 MB / 0.6856 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003269/0.579, allocations: 0.8929 MB / 0.6865 GB, free: 4.574 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007427/0.5798, allocations: 319.4 kB / 0.6868 GB, free: 4.477 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007544/0.5805, allocations: 0.9011 MB / 0.6877 GB, free: 3.434 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.475e-05/0.5806, allocations: 41.31 kB / 0.6877 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.534e-06/0.5806, allocations: 0 / 0.6877 GB, free: 3.387 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.008252/0.5889, allocations: 2.15 MB / 0.6898 GB, free: 2.863 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.835e-05/0.5889, allocations: 55.61 kB / 0.6899 GB, free: 2.801 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001898/0.5908, allocations: 1.051 MB / 0.6909 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001166/0.591, allocations: 35.17 kB / 0.6909 GB, free: 2.328 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004811/0.5915, allocations: 0.5218 MB / 0.6914 GB, free: 1.914 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001634/0.5916, allocations: 148.8 kB / 0.6916 GB, free: 1.797 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.761e-05/0.5917, allocations: 10.81 kB / 0.6916 GB, free: 1.789 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001402/0.5918, allocations: 329.3 kB / 0.6919 GB, free: 1.473 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008967/0.5927, allocations: 324.5 kB / 0.6922 GB, free: 1.383 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001042/0.5938, allocations: 0.5256 MB / 0.6927 GB, free: 1.043 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009245/0.5947, allocations: 367.8 kB / 0.6931 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.489e-06/0.5947, allocations: 0.9688 kB / 0.6931 GB, free: 0.9141 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.003554/0.5983, allocations: 1.211 MB / 0.6943 GB, free: 0.5273 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001671/0.5985, allocations: 219.9 kB / 0.6945 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.144e-05/0.5985, allocations: 4 kB / 0.6945 GB, free: 272 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001189/0.5997, allocations: 332.2 kB / 0.6948 GB, free: 192 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005177/0.6002, allocations: 126.1 kB / 0.6949 GB, free: 180 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001493/0.6017, allocations: 0.9488 MB / 0.6958 GB, free: 15.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001358/0.6031, allocations: 193 kB / 0.696 GB, free: 15.45 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.294e-05/0.6032, allocations: 38.39 kB / 0.6961 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.759e-06/0.6032, allocations: 7.188 kB / 0.6961 GB, free: 15.44 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0031/0.6063, allocations: 1.075 MB / 0.6971 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.145e-06/0.6063, allocations: 3.969 kB / 0.6971 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001053/0.6074, allocations: 328.1 kB / 0.6974 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004769/0.6079, allocations: 118.3 kB / 0.6975 GB, free: 15.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00133/0.6092, allocations: 0.9408 MB / 0.6985 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001295/0.6105, allocations: 164.7 kB / 0.6986 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.36e-05/0.6106, allocations: 28.77 kB / 0.6986 GB, free: 14.33 MB / 0.5294 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 () * 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.0006659/0.6113, allocations: 357.6 kB / 0.699 GB, free: 14.04 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002046/0.6115, allocations: 110.7 kB / 0.6991 GB, free: 13.98 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003633/0.6152, allocations: 1.208 MB / 0.7003 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.052e-05/0.6152, allocations: 5.312 kB / 0.7003 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.6152, allocations: 0 / 0.7003 GB, free: 13.46 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.6152, allocations: 3.984 kB / 0.7003 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005116/0.6203, allocations: 2.263 MB / 0.7025 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.175e-06/0.6204, allocations: 6.969 kB / 0.7025 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002686/0.6207, allocations: 66.11 kB / 0.7026 GB, free: 11.94 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009832/0.6216, allocations: 321.6 kB / 0.7029 GB, free: 11.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.848e-05/0.6217, allocations: 18.52 kB / 0.7029 GB, free: 11.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00139/0.6231, allocations: 0.9624 MB / 0.7038 GB, free: 11.05 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.451e-06/0.6231, allocations: 7.844 kB / 0.7038 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003352/0.6265, allocations: 1.258 MB / 0.7051 GB, free: 10.33 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006241/0.6271, allocations: 280.6 kB / 0.7053 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6273, allocations: 17.72 kB / 0.7053 GB, free: 10.07 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008335/0.6281, allocations: 106.4 kB / 0.7054 GB, free: 10.03 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.501e-05/0.6282, allocations: 40.28 kB / 0.7055 GB, free: 10.01 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.748e-05/0.6283, allocations: 22.83 kB / 0.7055 GB, free: 10 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001268/0.6295, allocations: 0.7356 MB / 0.7062 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.174e-06/0.6296, allocations: 1.344 kB / 0.7062 GB, free: 9.578 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001796/0.6314, allocations: 0.5666 MB / 0.7068 GB, free: 9.449 MB / 0.5294 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 (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.004108/0.6355, allocations: 2.065 MB / 0.7088 GB, free: 8.082 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00294/0.6384, allocations: 1.165 MB / 0.7099 GB, free: 7.578 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.939e-06/0.6385, allocations: 5.312 kB / 0.7099 GB, free: 7.574 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0008392/0.6393, allocations: 363.8 kB / 0.7103 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002345/0.6417, allocations: 0.5084 MB / 0.7108 GB, free: 6.945 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01636/0.658, allocations: 6.85 MB / 0.7175 GB, free: 15.79 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006697/0.6588, allocations: 1.065 MB / 0.7185 GB, free: 14.69 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.00113/0.6599, allocations: 213.4 kB / 0.7187 GB, free: 14.48 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005431/0.6605, allocations: 407.3 kB / 0.7191 GB, free: 14.08 MB / 0.545 GB Notification: Performance of SimCode: time 9.91e-07/0.6605, allocations: 0 / 0.7191 GB, free: 14.08 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05897/0.7194, allocations: 33.5 MB / 0.7518 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002774/0.7198, allocations: 261.6 kB / 0.7521 GB, free: 12.75 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.517/3.237, allocations: 0 / 0.7521 GB, free: 12.75 MB / 0.5762 GB (rm -f BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; mkfifo BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe ; head -c 1048576 < BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe >> ../files/BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildSysPro_BuildSysPro_IBPSA_Fluid_HeatPumps_Examples_Carnot_TCon.fmu > BuildSysPro_BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon.pipe 2>&1) Environment - environmentSimulation: