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.001141/0.001141, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001355/0.001355, allocations: 177.3 kB / 15.95 MB, free: 216 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.394/1.394, allocations: 223.2 MB / 239.9 MB, free: 5.43 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildSysPro 3.5.0-master/package.mo): time 0.9968/0.9968, allocations: 143.3 MB / 434.3 MB, free: 13.69 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003238/0.000324, allocations: 8 kB / 0.5159 GB, free: 11.18 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1811/0.1814, allocations: 83.41 MB / 0.5974 GB, free: 7.715 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(BuildSysPro.IBPSA.Fluid.HeatPumps.Examples.Carnot_TCon): time 0.3767/0.5581, allocations: 51.25 MB / 0.6474 GB, free: 12.53 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01297/0.5712, allocations: 10.33 MB / 0.6575 GB, free: 5.207 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002452/0.5737, allocations: 47.25 kB / 0.6575 GB, free: 5.188 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002395/0.5761, allocations: 0.6276 MB / 0.6582 GB, free: 4.832 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006704/0.5828, allocations: 1.946 MB / 0.6601 GB, free: 3.562 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004107/0.5869, allocations: 1.314 MB / 0.6613 GB, free: 2.941 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004143/0.5911, allocations: 1.854 MB / 0.6632 GB, free: 1.93 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001543/0.5926, allocations: 0.7999 MB / 0.6639 GB, free: 1.613 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002472/0.5951, allocations: 0.9861 MB / 0.6649 GB, free: 1.102 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001278/0.5964, allocations: 0.6047 MB / 0.6655 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001303/0.5966, allocations: 41.62 kB / 0.6655 GB, free: 0.8359 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.5991, allocations: 0.9841 MB / 0.6665 GB, free: 0.5703 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002223/0.5994, allocations: 192.4 kB / 0.6667 GB, free: 480 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000407/0.5998, allocations: 282.5 kB / 0.6669 GB, free: 312 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002906/0.6027, allocations: 1.679 MB / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 3.677e-06/0.6027, allocations: 1.125 kB / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.365e-06/0.6027, allocations: 0 / 0.6686 GB, free: 15.9 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 3.305e-05/0.6028, allocations: 0 / 0.6686 GB, free: 15.9 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.003688/0.6065, allocations: 1.482 MB / 0.67 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 5.036e-05/0.6065, allocations: 9.562 kB / 0.67 GB, free: 14.89 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001931/0.6067, allocations: 122.2 kB / 0.6702 GB, free: 14.8 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002379/0.6091, allocations: 472.8 kB / 0.6706 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002387/0.6115, allocations: 1.046 MB / 0.6716 GB, free: 14.06 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003906/0.6119, allocations: 134.9 kB / 0.6718 GB, free: 14.02 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001442/0.6121, allocations: 86.47 kB / 0.6718 GB, free: 13.99 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002288/0.6144, allocations: 0.9939 MB / 0.6728 GB, free: 13.54 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.229e-05/0.6144, allocations: 3.938 kB / 0.6728 GB, free: 13.53 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.62e-05/0.6145, allocations: 32.56 kB / 0.6728 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.31e-05/0.6145, allocations: 18.38 kB / 0.6729 GB, free: 13.51 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002573/0.6171, allocations: 0.9108 MB / 0.6737 GB, free: 13.22 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.007972/0.6251, allocations: 4.93 MB / 0.6786 GB, free: 9.543 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003859/0.629, allocations: 0.9077 MB / 0.6795 GB, free: 9.305 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001002/0.63, allocations: 0.9024 MB / 0.6803 GB, free: 8.258 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.216e-05/0.6301, allocations: 40.62 kB / 0.6804 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 3.397e-06/0.6301, allocations: 0 / 0.6804 GB, free: 8.211 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.009939/0.6401, allocations: 2.141 MB / 0.6825 GB, free: 7.695 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.916e-05/0.6402, allocations: 57.02 kB / 0.6825 GB, free: 7.633 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00254/0.6427, allocations: 1.064 MB / 0.6836 GB, free: 7.191 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 0.0001744/0.6429, allocations: 37.83 kB / 0.6836 GB, free: 7.152 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006366/0.6436, allocations: 0.5265 MB / 0.6841 GB, free: 6.734 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002094/0.6438, allocations: 152.7 kB / 0.6843 GB, free: 6.613 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.832e-05/0.6438, allocations: 10.66 kB / 0.6843 GB, free: 6.605 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001701/0.644, allocations: 325.4 kB / 0.6846 GB, free: 6.293 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001097/0.6451, allocations: 319.7 kB / 0.6849 GB, free: 6.207 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001212/0.6463, allocations: 0.5239 MB / 0.6854 GB, free: 5.867 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.6474, allocations: 364 kB / 0.6857 GB, free: 5.742 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.826e-06/0.6474, allocations: 8.984 kB / 0.6857 GB, free: 5.734 MB / 0.5137 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.004358/0.6517, allocations: 1.218 MB / 0.6869 GB, free: 5.34 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007056/0.6525, allocations: 1.662 MB / 0.6886 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.624e-05/0.6525, allocations: 5.734 kB / 0.6886 GB, free: 3.574 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001424/0.6539, allocations: 339.4 kB / 0.6889 GB, free: 3.488 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000643/0.6546, allocations: 127.6 kB / 0.689 GB, free: 3.477 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001655/0.6562, allocations: 0.9445 MB / 0.6899 GB, free: 2.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001753/0.658, allocations: 198.3 kB / 0.6901 GB, free: 2.75 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.581e-05/0.6581, allocations: 28.98 kB / 0.6901 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.683e-05/0.6581, allocations: 4 kB / 0.6901 GB, free: 2.746 MB / 0.5137 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003657/0.6618, allocations: 1.076 MB / 0.6912 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.537e-05/0.6618, allocations: 6.047 kB / 0.6912 GB, free: 2.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001238/0.6631, allocations: 322.1 kB / 0.6915 GB, free: 2.363 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005857/0.6637, allocations: 130 kB / 0.6916 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001667/0.6654, allocations: 0.9379 MB / 0.6926 GB, free: 1.684 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001605/0.667, allocations: 167.9 kB / 0.6927 GB, free: 1.637 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.828e-05/0.6671, allocations: 29.17 kB / 0.6927 GB, free: 1.633 MB / 0.5137 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.000882/0.668, allocations: 350.1 kB / 0.6931 GB, free: 1.352 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003103/0.6683, allocations: 107 kB / 0.6932 GB, free: 1.297 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004276/0.6726, allocations: 1.209 MB / 0.6944 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.464e-05/0.6726, allocations: 6.359 kB / 0.6944 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.365e-06/0.6726, allocations: 1.344 kB / 0.6944 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.244e-05/0.6726, allocations: 3.141 kB / 0.6944 GB, free: 0.9102 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006388/0.679, allocations: 2.269 MB / 0.6966 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.307e-05/0.6791, allocations: 2.562 kB / 0.6966 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002986/0.6794, allocations: 67.08 kB / 0.6967 GB, free: 15.89 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001159/0.6806, allocations: 328.8 kB / 0.697 GB, free: 15.8 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.652e-05/0.6806, allocations: 17.06 kB / 0.697 GB, free: 15.79 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001577/0.6822, allocations: 0.9643 MB / 0.6979 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6822, allocations: 2.188 kB / 0.6979 GB, free: 15.12 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004042/0.6863, allocations: 1.367 MB / 0.6993 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008006/0.6871, allocations: 293.5 kB / 0.6995 GB, free: 14.15 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.00015/0.6872, allocations: 13.3 kB / 0.6996 GB, free: 14.14 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009257/0.6882, allocations: 115 kB / 0.6997 GB, free: 14.1 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.894e-05/0.6883, allocations: 39.7 kB / 0.6997 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.522e-05/0.6883, allocations: 23.89 kB / 0.6997 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001368/0.6897, allocations: 0.7503 MB / 0.7005 GB, free: 13.64 MB / 0.5294 GB Notification: Performance of sort global known variables: time 2.4e-07/0.6897, allocations: 3.938 kB / 0.7005 GB, free: 13.63 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.002175/0.6919, allocations: 0.5596 MB / 0.701 GB, free: 13.51 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.005477/0.6974, allocations: 2.813 MB / 0.7038 GB, free: 11.38 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.003642/0.7011, allocations: 1.161 MB / 0.7049 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 8.796e-06/0.7011, allocations: 1.438 kB / 0.7049 GB, free: 10.88 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0009611/0.7021, allocations: 371.4 kB / 0.7052 GB, free: 10.71 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002904/0.705, allocations: 496 kB / 0.7057 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009124/0.7142, allocations: 5.93 MB / 0.7115 GB, free: 5.477 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007087/0.7149, allocations: 1.088 MB / 0.7126 GB, free: 4.488 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.001212/0.7161, allocations: 220.9 kB / 0.7128 GB, free: 4.273 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005301/0.7167, allocations: 411.3 kB / 0.7132 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of SimCode: time 9.62e-07/0.7167, allocations: 0 / 0.7132 GB, free: 3.871 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05823/0.7749, allocations: 33.23 MB / 0.7456 GB, free: 3.148 MB / 0.5606 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002677/0.7752, allocations: 258.4 kB / 0.7459 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.605/3.38, allocations: 0 / 0.7459 GB, free: 2.809 MB / 0.5606 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: