Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.HeatPumps.Examples.Carnot_y,fileNamePrefix="IDEAS_dev_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.001911/0.001911, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.00219/0.002189, allocations: 194.9 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.035/2.035, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.485/1.485, allocations: 135.1 MB / 425.2 MB, free: 11.93 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002499/0.002499, allocations: 59.97 kB / 0.505 GB, free: 5.578 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2649/0.2674, allocations: 80.93 MB / 0.584 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.HeatPumps.Examples.Carnot_y): time 0.587/0.8545, allocations: 74.52 MB / 0.6568 GB, free: 7.52 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.03318/0.8877, allocations: 15.03 MB / 0.6714 GB, free: 12.73 MB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004652/0.8924, allocations: 65.06 kB / 0.6715 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.004242/0.8967, allocations: 0.7218 MB / 0.6722 GB, free: 12.28 MB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.01314/0.9099, allocations: 2.4 MB / 0.6745 GB, free: 10.86 MB / 0.5137 GB Notification: Performance of NFTyping.typeClassSections: time 0.007452/0.9174, allocations: 1.282 MB / 0.6758 GB, free: 10.09 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.01288/0.9303, allocations: 4.435 MB / 0.6801 GB, free: 7.871 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005623/0.9359, allocations: 1.434 MB / 0.6815 GB, free: 7.176 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009431/0.9454, allocations: 1.656 MB / 0.6831 GB, free: 6.352 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005278/0.9507, allocations: 1.259 MB / 0.6844 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.001142/0.9519, allocations: 162.8 kB / 0.6845 GB, free: 5.773 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007092/0.959, allocations: 1.417 MB / 0.6859 GB, free: 5.246 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.001572/0.9606, allocations: 404.1 kB / 0.6863 GB, free: 4.992 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.003671/0.9644, allocations: 0.9093 MB / 0.6872 GB, free: 4.422 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.01112/0.9755, allocations: 2.853 MB / 0.69 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 1.02e-05/0.9756, allocations: 0.7031 kB / 0.69 GB, free: 3.34 MB / 0.5137 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9756, allocations: 5.031 kB / 0.69 GB, free: 3.336 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 0.0001314/0.9757, allocations: 4 kB / 0.69 GB, free: 3.332 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.009972/0.9857, allocations: 2.093 MB / 0.692 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 6.973e-05/0.9858, allocations: 9.062 kB / 0.692 GB, free: 1.957 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0006324/0.9865, allocations: 148.2 kB / 0.6922 GB, free: 1.859 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001801/0.9883, allocations: 227.1 kB / 0.6924 GB, free: 1.773 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005687/0.994, allocations: 1.497 MB / 0.6939 GB, free: 0.8516 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001718/0.9942, allocations: 76.59 kB / 0.6939 GB, free: 0.8203 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004694/0.9947, allocations: 101 kB / 0.694 GB, free: 0.7891 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004968/0.9997, allocations: 1.099 MB / 0.6951 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.329e-05/0.9998, allocations: 1.562 kB / 0.6951 GB, free: 304 kB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002281/1, allocations: 44.48 kB / 0.6951 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.728e-05/1, allocations: 26.06 kB / 0.6952 GB, free: 268 kB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003933/1.004, allocations: 0.8909 MB / 0.696 GB, free: 15.95 MB / 0.5294 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.01406/1.018, allocations: 4.904 MB / 0.7008 GB, free: 12.5 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002709/1.021, allocations: 0.614 MB / 0.7014 GB, free: 12.29 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001358/1.022, allocations: 347.6 kB / 0.7018 GB, free: 12.18 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001132/1.023, allocations: 0.8369 MB / 0.7026 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.823e-05/1.024, allocations: 42.09 kB / 0.7026 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=61): time 4.819e-06/1.024, allocations: 0 / 0.7026 GB, free: 11.17 MB / 0.5294 GB Notification: Performance of matching and sorting (n=61): time 0.01273/1.036, allocations: 1.693 MB / 0.7043 GB, free: 10.66 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.274e-05/1.036, allocations: 59.95 kB / 0.7043 GB, free: 10.6 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004102/1.041, allocations: 1.213 MB / 0.7055 GB, free: 10.1 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 0.0002736/1.041, allocations: 43.39 kB / 0.7056 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 0.001006/1.042, allocations: 0.6026 MB / 0.7061 GB, free: 9.582 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004984/1.042, allocations: 217.5 kB / 0.7063 GB, free: 9.41 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005494/1.043, allocations: 154.9 kB / 0.7065 GB, free: 9.336 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0002092/1.043, allocations: 335.2 kB / 0.7068 GB, free: 9.016 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001292/1.045, allocations: 288.8 kB / 0.7071 GB, free: 8.918 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001705/1.046, allocations: 496.5 kB / 0.7076 GB, free: 8.602 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002612/1.049, allocations: 0.7149 MB / 0.7083 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.036e-05/1.049, allocations: 1.219 kB / 0.7083 GB, free: 8.223 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.008605/1.058, allocations: 1.277 MB / 0.7095 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 4.254e-05/1.058, allocations: 6.125 kB / 0.7095 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.439e-05/1.058, allocations: 4.062 kB / 0.7095 GB, free: 7.758 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001041/1.059, allocations: 140 kB / 0.7097 GB, free: 7.691 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/1.06, allocations: 160.7 kB / 0.7098 GB, free: 7.648 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001685/1.062, allocations: 0.7071 MB / 0.7105 GB, free: 7.023 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002917/1.065, allocations: 156.1 kB / 0.7106 GB, free: 6.934 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002637/1.065, allocations: 35.39 kB / 0.7107 GB, free: 6.922 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00258/1.068, allocations: 0.5528 MB / 0.7112 GB, free: 6.582 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001583/1.069, allocations: 491.6 kB / 0.7117 GB, free: 6.203 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002621/1.072, allocations: 0.7065 MB / 0.7124 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.015e-05/1.072, allocations: 0 / 0.7124 GB, free: 5.75 MB / 0.5294 GB Notification: Performance of matching and sorting (n=88) (initialization_lambda0): time 0.008452/1.08, allocations: 1.265 MB / 0.7136 GB, free: 5.117 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 3.242e-05/1.08, allocations: 9.297 kB / 0.7136 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.08, allocations: 4.188 kB / 0.7136 GB, free: 5.113 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009468/1.081, allocations: 147 kB / 0.7138 GB, free: 5.039 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/1.082, allocations: 160.6 kB / 0.7139 GB, free: 4.996 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001441/1.084, allocations: 0.7021 MB / 0.7146 GB, free: 4.379 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002622/1.087, allocations: 133.3 kB / 0.7147 GB, free: 4.309 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001712/1.087, allocations: 33.98 kB / 0.7148 GB, free: 4.297 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of prepare postOptimizeDAE: time 0.0005271/1.087, allocations: 225.8 kB / 0.715 GB, free: 4.082 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009362/1.088, allocations: 135.6 kB / 0.7151 GB, free: 4.012 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00795/1.096, allocations: 1.274 MB / 0.7164 GB, free: 3.309 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.479e-05/1.096, allocations: 9.875 kB / 0.7164 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.249e-05/1.096, allocations: 0 / 0.7164 GB, free: 3.305 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00653/1.103, allocations: 1.102 MB / 0.7174 GB, free: 2.68 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01207/1.115, allocations: 2.603 MB / 0.72 GB, free: 0.8789 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.904e-05/1.115, allocations: 8.656 kB / 0.72 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008267/1.116, allocations: 113.9 kB / 0.7201 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007894/1.117, allocations: 129.7 kB / 0.7202 GB, free: 0.7695 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.117e-05/1.117, allocations: 23.98 kB / 0.7202 GB, free: 0.7461 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.008262/1.125, allocations: 2.633 MB / 0.7228 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.404e-05/1.125, allocations: 7.938 kB / 0.7228 GB, free: 13.95 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009452/1.135, allocations: 1.699 MB / 0.7245 GB, free: 12.19 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00165/1.136, allocations: 299.2 kB / 0.7248 GB, free: 11.88 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007734/1.137, allocations: 16 kB / 0.7248 GB, free: 11.86 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002366/1.139, allocations: 87.81 kB / 0.7249 GB, free: 11.77 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002695/1.14, allocations: 64.23 kB / 0.7249 GB, free: 11.71 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000157/1.14, allocations: 27.98 kB / 0.725 GB, free: 11.68 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.002956/1.143, allocations: 0.874 MB / 0.7258 GB, free: 10.81 MB / 0.545 GB Notification: Performance of sort global known variables: time 8.02e-07/1.143, allocations: 0 / 0.7258 GB, free: 10.81 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.00669/1.15, allocations: 0.7057 MB / 0.7265 GB, free: 10.1 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 (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,10)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01221/1.162, allocations: 2.582 MB / 0.729 GB, free: 7.457 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.005417/1.167, allocations: 1.164 MB / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.468e-05/1.168, allocations: 0 / 0.7302 GB, free: 6.301 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 0.002701/1.17, allocations: 0.5643 MB / 0.7307 GB, free: 5.727 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008469/1.179, allocations: 0.8036 MB / 0.7315 GB, free: 4.973 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05163/1.23, allocations: 10.88 MB / 0.7421 GB, free: 9.582 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/1.232, allocations: 1.182 MB / 0.7433 GB, free: 8.371 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 0.003237/1.236, allocations: 303.1 kB / 0.7436 GB, free: 8.07 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001691/1.237, allocations: 0.511 MB / 0.7441 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of SimCode: time 1.864e-06/1.238, allocations: 0 / 0.7441 GB, free: 7.559 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3315/1.569, allocations: 41.61 MB / 0.7847 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003412/1.569, allocations: 265.6 kB / 0.7849 GB, free: 14.19 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 5.656/7.226, allocations: 0 / 0.7849 GB, free: 14.19 MB / 0.6075 GB (rm -f IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_HeatPumps_Examples_Carnot_y.fmu > IDEAS_dev_IDEAS.Fluid.HeatPumps.Examples.Carnot_y.pipe 2>&1)