Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",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.0008306/0.0008306, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.0007571/0.000757, allocations: 172.7 kB / 15.95 MB, free: 208 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.202/1.202, allocations: 223.3 MB / 240 MB, free: 5.277 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.6727/0.6727, allocations: 132.3 MB / 423.4 MB, free: 2.059 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003021/0.0003022, allocations: 11.98 kB / 0.5035 GB, free: 4.172 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3894/0.3897, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.05388/0.4436, allocations: 69.42 MB / 0.6509 GB, free: 11.01 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.01436/0.458, allocations: 14.17 MB / 0.6648 GB, free: 12.82 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008504/0.4589, allocations: 55.62 kB / 0.6648 GB, free: 12.76 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001156/0.4601, allocations: 0.5666 MB / 0.6654 GB, free: 12.19 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003222/0.4633, allocations: 1.982 MB / 0.6673 GB, free: 10.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001911/0.4652, allocations: 0.9709 MB / 0.6683 GB, free: 9.246 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.003605/0.4688, allocations: 4.805 MB / 0.673 GB, free: 4.422 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001034/0.4699, allocations: 1.021 MB / 0.674 GB, free: 3.375 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001434/0.4713, allocations: 1.275 MB / 0.6752 GB, free: 2.094 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009972/0.4723, allocations: 1.085 MB / 0.6763 GB, free: 1.004 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.4725, allocations: 56 kB / 0.6763 GB, free: 0.9492 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001464/0.4739, allocations: 0.9276 MB / 0.6772 GB, free: 20 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002343/0.4742, allocations: 270.8 kB / 0.6775 GB, free: 15.75 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0002474/0.4744, allocations: 364.9 kB / 0.6778 GB, free: 15.39 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.001548/0.476, allocations: 2.081 MB / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.476, allocations: 4 kB / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.203e-06/0.476, allocations: 0 / 0.6799 GB, free: 13.3 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.176e-05/0.476, allocations: 0 / 0.6799 GB, free: 13.3 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.002491/0.4785, allocations: 1.799 MB / 0.6816 GB, free: 11.44 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 3.14e-05/0.4786, allocations: 11.97 kB / 0.6816 GB, free: 11.43 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001492/0.4787, allocations: 151.9 kB / 0.6818 GB, free: 11.27 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006394/0.4794, allocations: 241.8 kB / 0.682 GB, free: 11.03 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00191/0.4813, allocations: 1.451 MB / 0.6834 GB, free: 9.523 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.602e-05/0.4813, allocations: 74 kB / 0.6835 GB, free: 9.453 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001193/0.4815, allocations: 104 kB / 0.6836 GB, free: 9.352 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001656/0.4831, allocations: 1.116 MB / 0.6847 GB, free: 8.199 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.252e-05/0.4832, allocations: 4 kB / 0.6847 GB, free: 8.195 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.669e-05/0.4833, allocations: 36 kB / 0.6847 GB, free: 8.16 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.868e-05/0.4833, allocations: 28 kB / 0.6847 GB, free: 8.133 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001616/0.4849, allocations: 0.929 MB / 0.6857 GB, free: 7.203 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.004504/0.4894, allocations: 4.919 MB / 0.6905 GB, free: 1.996 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001184/0.4906, allocations: 0.6361 MB / 0.6911 GB, free: 1.355 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006128/0.4912, allocations: 363.8 kB / 0.6914 GB, free: 1 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004997/0.4918, allocations: 0.8277 MB / 0.6922 GB, free: 15.98 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.4918, allocations: 43.12 kB / 0.6923 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 1.613e-06/0.4918, allocations: 0 / 0.6923 GB, free: 15.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.00579/0.4976, allocations: 1.896 MB / 0.6941 GB, free: 14.01 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.029e-05/0.4976, allocations: 55.97 kB / 0.6942 GB, free: 13.95 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001267/0.4989, allocations: 1.21 MB / 0.6954 GB, free: 12.72 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 5.49e-05/0.499, allocations: 41.7 kB / 0.6954 GB, free: 12.67 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.000451/0.4994, allocations: 0.6026 MB / 0.696 GB, free: 12.06 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001487/0.4996, allocations: 212.9 kB / 0.6962 GB, free: 11.85 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.272e-05/0.4996, allocations: 16 kB / 0.6962 GB, free: 11.84 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001036/0.4997, allocations: 341.9 kB / 0.6965 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005595/0.5003, allocations: 297.8 kB / 0.6968 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006844/0.501, allocations: 0.4983 MB / 0.6973 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006128/0.5016, allocations: 359 kB / 0.6976 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/0.5016, allocations: 4 kB / 0.6976 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.003717/0.5054, allocations: 1.39 MB / 0.699 GB, free: 8.887 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 9.551e-05/0.5055, allocations: 206.2 kB / 0.6992 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/0.5055, allocations: 0 / 0.6992 GB, free: 8.633 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004631/0.5059, allocations: 152.7 kB / 0.6993 GB, free: 8.48 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005233/0.5065, allocations: 159.8 kB / 0.6995 GB, free: 8.324 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006602/0.5071, allocations: 0.7162 MB / 0.7002 GB, free: 7.582 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008107/0.508, allocations: 167 kB / 0.7004 GB, free: 7.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.798e-05/0.508, allocations: 39.92 kB / 0.7004 GB, free: 7.379 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 5.69e-06/0.5081, allocations: 4 kB / 0.7004 GB, free: 7.375 MB / 0.5294 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003558/0.5116, allocations: 1.253 MB / 0.7016 GB, free: 6.117 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.5116, allocations: 4 kB / 0.7016 GB, free: 6.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000393/0.512, allocations: 149.1 kB / 0.7018 GB, free: 5.965 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005086/0.5125, allocations: 159.8 kB / 0.7019 GB, free: 5.809 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006316/0.5132, allocations: 0.7202 MB / 0.7026 GB, free: 5.062 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007491/0.5139, allocations: 155.1 kB / 0.7028 GB, free: 4.91 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.226e-05/0.514, allocations: 31.98 kB / 0.7028 GB, free: 4.879 MB / 0.5294 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (78): * Single equations (assignments): 77 * 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 10} Notification: Performance of prepare postOptimizeDAE: time 0.0004044/0.5144, allocations: 436.8 kB / 0.7032 GB, free: 4.441 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001474/0.5146, allocations: 130.4 kB / 0.7033 GB, free: 4.312 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003741/0.5183, allocations: 1.389 MB / 0.7047 GB, free: 2.906 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.258e-05/0.5183, allocations: 15.98 kB / 0.7047 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.5184, allocations: 0 / 0.7047 GB, free: 2.891 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003329/0.5217, allocations: 1.232 MB / 0.7059 GB, free: 1.625 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005023/0.5267, allocations: 2.731 MB / 0.7086 GB, free: 14.78 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.46e-06/0.5267, allocations: 4 kB / 0.7086 GB, free: 14.77 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004295/0.5272, allocations: 120.3 kB / 0.7087 GB, free: 14.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003827/0.5276, allocations: 148.2 kB / 0.7088 GB, free: 14.51 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.669e-05/0.5276, allocations: 19.98 kB / 0.7089 GB, free: 14.49 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003818/0.5314, allocations: 2.478 MB / 0.7113 GB, free: 11.87 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.536e-06/0.5315, allocations: 4 kB / 0.7113 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004196/0.5357, allocations: 1.855 MB / 0.7131 GB, free: 9.938 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003635/0.536, allocations: 323.1 kB / 0.7134 GB, free: 9.602 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001391/0.5362, allocations: 23.98 kB / 0.7134 GB, free: 9.578 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00069/0.5369, allocations: 95.95 kB / 0.7135 GB, free: 9.484 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.397e-05/0.537, allocations: 64.25 kB / 0.7136 GB, free: 9.422 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.935e-05/0.537, allocations: 31.98 kB / 0.7136 GB, free: 9.391 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0009338/0.538, allocations: 0.8623 MB / 0.7145 GB, free: 8.527 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.538, allocations: 0 / 0.7145 GB, free: 8.527 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.001438/0.5394, allocations: 0.7056 MB / 0.7151 GB, free: 7.82 MB / 0.545 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 15 * Number of states: 2 (heaPum.con.vol.dynBal.U,heaPum.eva.vol.dynBal.U) * 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 (55): * Single equations (assignments): 50 * 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 10} Notification: Performance of Backend phase and start with SimCode phase: time 0.004965/0.5444, allocations: 2.705 MB / 0.7178 GB, free: 5.043 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.5465, allocations: 1.156 MB / 0.7189 GB, free: 3.895 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 4.558e-06/0.5465, allocations: 8.188 kB / 0.7189 GB, free: 3.887 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.001219/0.5477, allocations: 0.5915 MB / 0.7195 GB, free: 3.281 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002763/0.5505, allocations: 0.765 MB / 0.7203 GB, free: 2.535 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01566/0.5661, allocations: 8.364 MB / 0.7284 GB, free: 9.785 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.5668, allocations: 1.183 MB / 0.7296 GB, free: 8.57 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.001196/0.568, allocations: 299 kB / 0.7299 GB, free: 8.273 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006021/0.5686, allocations: 0.511 MB / 0.7304 GB, free: 7.762 MB / 0.5606 GB Notification: Performance of SimCode: time 5.41e-07/0.5686, allocations: 8 kB / 0.7304 GB, free: 7.754 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.034/2.603, allocations: 42.09 MB / 0.7715 GB, free: 14.21 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002272/2.603, allocations: 228.4 kB / 0.7717 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.625/6.228, allocations: 0 / 0.7717 GB, free: 13.97 MB / 0.6075 GB (rm -f IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1) Environment - environmentSimulation: