Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.008269/0.008269, allocations: 97.62 kB / 15.73 MB, free: 6.059 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.002024/0.002024, allocations: 197.5 kB / 16.68 MB, free: 5.977 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.312/2.312, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 1.226/1.226, allocations: 132.2 MB / 422.7 MB, free: 1.703 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003135/0.003135, allocations: 63.89 kB / 0.5809 GB, free: 8.062 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6592/0.6624, allocations: 80.21 MB / 0.6592 GB, free: 9.863 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.1047/0.7672, allocations: 61.16 MB / 0.7189 GB, free: 8.848 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0289/0.7962, allocations: 11.98 MB / 0.7306 GB, free: 12.83 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003657/0.7999, allocations: 55.69 kB / 0.7307 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003517/0.8035, allocations: 0.6908 MB / 0.7314 GB, free: 12.08 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.00978/0.8133, allocations: 1.953 MB / 0.7333 GB, free: 10.12 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005658/0.819, allocations: 1.206 MB / 0.7344 GB, free: 8.926 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007542/0.8266, allocations: 3.083 MB / 0.7375 GB, free: 5.832 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003115/0.8297, allocations: 1.104 MB / 0.7385 GB, free: 4.703 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005386/0.8351, allocations: 1.336 MB / 0.7398 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00261/0.8378, allocations: 0.8906 MB / 0.7407 GB, free: 2.469 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0005634/0.8384, allocations: 116 kB / 0.7408 GB, free: 2.355 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005246/0.8436, allocations: 1.474 MB / 0.7423 GB, free: 0.8789 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007287/0.8444, allocations: 298.8 kB / 0.7425 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001994/0.8464, allocations: 0.692 MB / 0.7432 GB, free: 15.89 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006559/0.853, allocations: 2.351 MB / 0.7455 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.382e-06/0.853, allocations: 0 / 0.7455 GB, free: 13.54 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.525e-06/0.853, allocations: 4 kB / 0.7455 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 5.029e-05/0.8531, allocations: 0 / 0.7455 GB, free: 13.53 MB / 0.5762 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.005692/0.8588, allocations: 1.783 MB / 0.7473 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.957e-05/0.8589, allocations: 8.031 kB / 0.7473 GB, free: 11.68 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003178/0.8592, allocations: 122.9 kB / 0.7474 GB, free: 11.55 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002867/0.8621, allocations: 351.3 kB / 0.7477 GB, free: 11.2 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004078/0.8662, allocations: 1.172 MB / 0.7489 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001231/0.8663, allocations: 70 kB / 0.7489 GB, free: 9.906 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002488/0.8666, allocations: 80 kB / 0.749 GB, free: 9.828 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003408/0.87, allocations: 0.9664 MB / 0.75 GB, free: 8.805 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.722e-05/0.8701, allocations: 3.938 kB / 0.75 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001436/0.8702, allocations: 32 kB / 0.75 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.3e-05/0.8703, allocations: 23.94 kB / 0.75 GB, free: 8.746 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003491/0.8738, allocations: 0.804 MB / 0.7508 GB, free: 7.938 MB / 0.5762 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.01111/0.8849, allocations: 5.138 MB / 0.7558 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002622/0.8876, allocations: 0.575 MB / 0.7564 GB, free: 1.848 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001039/0.8886, allocations: 274.2 kB / 0.7566 GB, free: 1.582 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002402/0.8911, allocations: 1.369 MB / 0.758 GB, free: 15.92 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.8911, allocations: 34.56 kB / 0.758 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=44): time 4.489e-06/0.8912, allocations: 0 / 0.758 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of matching and sorting (n=44): time 0.009472/0.9006, allocations: 1.494 MB / 0.7595 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.9008, allocations: 55.41 kB / 0.7595 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003395/0.9042, allocations: 1.08 MB / 0.7606 GB, free: 13.19 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001127/0.9043, allocations: 37.7 kB / 0.7606 GB, free: 13.15 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008169/0.9051, allocations: 0.5359 MB / 0.7611 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002608/0.9054, allocations: 162.6 kB / 0.7613 GB, free: 12.45 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004452/0.9059, allocations: 138.2 kB / 0.7614 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0002331/0.9061, allocations: 329.9 kB / 0.7617 GB, free: 11.98 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001322/0.9075, allocations: 283.3 kB / 0.762 GB, free: 11.7 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/0.9091, allocations: 0.4914 MB / 0.7625 GB, free: 11.12 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002541/0.9117, allocations: 0.6599 MB / 0.7631 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.574e-05/0.9117, allocations: 0 / 0.7631 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.004442/0.9162, allocations: 0.9583 MB / 0.7641 GB, free: 9.43 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.614e-05/0.9162, allocations: 8 kB / 0.7641 GB, free: 9.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.586e-05/0.9163, allocations: 7.984 kB / 0.7641 GB, free: 9.414 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002145/0.9184, allocations: 308.7 kB / 0.7644 GB, free: 9.109 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000819/0.9193, allocations: 119.8 kB / 0.7645 GB, free: 8.992 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002408/0.9217, allocations: 0.9035 MB / 0.7654 GB, free: 8.062 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001931/0.9237, allocations: 147.4 kB / 0.7655 GB, free: 7.918 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/0.9238, allocations: 31.98 kB / 0.7655 GB, free: 7.887 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001861/0.9257, allocations: 489.2 kB / 0.766 GB, free: 7.406 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001662/0.9274, allocations: 0.4883 MB / 0.7665 GB, free: 6.828 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002447/0.9298, allocations: 0.6502 MB / 0.7671 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.645e-06/0.9299, allocations: 0 / 0.7671 GB, free: 6.113 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.004274/0.9342, allocations: 0.9543 MB / 0.768 GB, free: 5.148 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.077e-05/0.9342, allocations: 11.94 kB / 0.7681 GB, free: 5.137 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.9342, allocations: 4 kB / 0.7681 GB, free: 5.133 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001837/0.9361, allocations: 300.7 kB / 0.7684 GB, free: 4.836 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008107/0.9369, allocations: 119.8 kB / 0.7685 GB, free: 4.719 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002374/0.9393, allocations: 0.8911 MB / 0.7693 GB, free: 3.805 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001942/0.9413, allocations: 127.7 kB / 0.7695 GB, free: 3.68 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001355/0.9414, allocations: 31.92 kB / 0.7695 GB, free: 3.648 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (57): * Single equations (assignments): 56 * 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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0003907/0.9418, allocations: 220.1 kB / 0.7697 GB, free: 3.426 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004996/0.9423, allocations: 123.2 kB / 0.7698 GB, free: 3.305 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003761/0.9461, allocations: 0.8881 MB / 0.7707 GB, free: 2.398 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.169e-05/0.9462, allocations: 8 kB / 0.7707 GB, free: 2.391 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.338e-06/0.9462, allocations: 4 kB / 0.7707 GB, free: 2.387 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.189e-05/0.9462, allocations: 3.984 kB / 0.7707 GB, free: 2.383 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.009695/0.9559, allocations: 2.211 MB / 0.7729 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.468e-05/0.956, allocations: 0 / 0.7729 GB, free: 92 kB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003838/0.9564, allocations: 55.91 kB / 0.7729 GB, free: 36 kB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001702/0.9581, allocations: 304.6 kB / 0.7732 GB, free: 15.73 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.961e-05/0.9582, allocations: 15.98 kB / 0.7732 GB, free: 15.72 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002448/0.9607, allocations: 0.937 MB / 0.7741 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.406e-06/0.9607, allocations: 4 kB / 0.7741 GB, free: 14.75 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006974/0.9677, allocations: 1.225 MB / 0.7753 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009632/0.9687, allocations: 272.1 kB / 0.7756 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003968/0.9691, allocations: 11.94 kB / 0.7756 GB, free: 13.19 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001458/0.9706, allocations: 67.92 kB / 0.7757 GB, free: 13.12 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.9708, allocations: 35.89 kB / 0.7757 GB, free: 13.09 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001094/0.9709, allocations: 23.98 kB / 0.7757 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002461/0.9734, allocations: 0.7551 MB / 0.7765 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.5e-07/0.9734, allocations: 0 / 0.7765 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.003128/0.9765, allocations: 0.5847 MB / 0.777 GB, free: 11.71 MB / 0.6075 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 (34): * Single equations (assignments): 29 * 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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007812/0.9844, allocations: 1.979 MB / 0.779 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004813/0.9892, allocations: 1.035 MB / 0.78 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 7.815e-06/0.9892, allocations: 4 kB / 0.78 GB, free: 8.66 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.001295/0.9905, allocations: 314.4 kB / 0.7803 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004462/0.995, allocations: 0.512 MB / 0.7808 GB, free: 7.859 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02549/1.021, allocations: 7.953 MB / 0.7885 GB, free: 15.59 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001344/1.022, allocations: 1.061 MB / 0.7896 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001532/1.024, allocations: 220.7 kB / 0.7898 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009945/1.025, allocations: 415.3 kB / 0.7902 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of SimCode: time 1.443e-06/1.025, allocations: 0 / 0.7902 GB, free: 13.88 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1193/1.144, allocations: 33.91 MB / 0.8233 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 22.04/23.18, allocations: 7.734 kB / 0.8233 GB, free: 12.44 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1)