Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Examples_Carnot_TEva",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.004917/0.004917, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001342/0.001342, allocations: 194.3 kB / 16.67 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 1.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7621/0.7621, allocations: 132.2 MB / 422.8 MB, free: 1.648 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001361/0.001362, allocations: 59.91 kB / 0.5808 GB, free: 8.047 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3995/0.4009, allocations: 80.21 MB / 0.6592 GB, free: 9.84 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.05545/0.4564, allocations: 61.14 MB / 0.7189 GB, free: 8.852 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.01695/0.4734, allocations: 11.98 MB / 0.7306 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002245/0.4757, allocations: 59.62 kB / 0.7306 GB, free: 12.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.002403/0.4781, allocations: 0.7064 MB / 0.7313 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.005956/0.4842, allocations: 2.052 MB / 0.7333 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003101/0.4873, allocations: 1.213 MB / 0.7345 GB, free: 8.809 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0043/0.4916, allocations: 3.087 MB / 0.7375 GB, free: 5.711 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001782/0.4934, allocations: 1.1 MB / 0.7386 GB, free: 4.586 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003165/0.4966, allocations: 1.364 MB / 0.7399 GB, free: 3.219 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001558/0.4982, allocations: 0.8906 MB / 0.7408 GB, free: 2.324 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003265/0.4985, allocations: 116 kB / 0.7409 GB, free: 2.211 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.5015, allocations: 1.443 MB / 0.7423 GB, free: 0.7656 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004321/0.502, allocations: 294.8 kB / 0.7426 GB, free: 488 kB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001132/0.5031, allocations: 0.6959 MB / 0.7433 GB, free: 15.77 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00411/0.5072, allocations: 2.32 MB / 0.7456 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.769e-06/0.5072, allocations: 0 / 0.7456 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.784e-06/0.5072, allocations: 0 / 0.7456 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.497e-05/0.5073, allocations: 0 / 0.7456 GB, free: 13.45 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.003663/0.511, allocations: 1.777 MB / 0.7473 GB, free: 11.61 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.194e-05/0.511, allocations: 11.97 kB / 0.7473 GB, free: 11.6 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002029/0.5112, allocations: 126.9 kB / 0.7474 GB, free: 11.47 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002129/0.5134, allocations: 419.2 kB / 0.7478 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002407/0.5158, allocations: 1.164 MB / 0.749 GB, free: 9.84 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.367e-05/0.5159, allocations: 58 kB / 0.749 GB, free: 9.781 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001383/0.516, allocations: 83.94 kB / 0.7491 GB, free: 9.699 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.518, allocations: 1.002 MB / 0.7501 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.026e-05/0.5181, allocations: 3.938 kB / 0.7501 GB, free: 8.637 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.597e-05/0.5181, allocations: 32 kB / 0.7501 GB, free: 8.605 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.855e-05/0.5182, allocations: 20 kB / 0.7501 GB, free: 8.586 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.5204, allocations: 0.8469 MB / 0.751 GB, free: 7.734 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.00671/0.5271, allocations: 5.228 MB / 0.7561 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003231/0.5303, allocations: 0.7886 MB / 0.7568 GB, free: 1.34 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006846/0.531, allocations: 292.7 kB / 0.7571 GB, free: 1.051 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006665/0.5317, allocations: 0.9025 MB / 0.758 GB, free: 15.95 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.5318, allocations: 34.56 kB / 0.758 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=43): time 2.304e-06/0.5318, allocations: 0 / 0.758 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of matching and sorting (n=43): time 0.006663/0.5384, allocations: 1.701 MB / 0.7597 GB, free: 14.17 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.523e-05/0.5385, allocations: 67.33 kB / 0.7598 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001707/0.5402, allocations: 1.072 MB / 0.7608 GB, free: 13.01 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.154e-05/0.5403, allocations: 37.7 kB / 0.7608 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.5407, allocations: 0.5437 MB / 0.7614 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5409, allocations: 154.7 kB / 0.7615 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5411, allocations: 138.2 kB / 0.7616 GB, free: 12.12 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001216/0.5413, allocations: 322 kB / 0.762 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008596/0.5421, allocations: 319.2 kB / 0.7623 GB, free: 11.49 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001027/0.5432, allocations: 0.5174 MB / 0.7628 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001589/0.5448, allocations: 0.7211 MB / 0.7635 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.156e-06/0.5448, allocations: 4 kB / 0.7635 GB, free: 10.08 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002654/0.5475, allocations: 1.016 MB / 0.7645 GB, free: 9.051 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.911e-05/0.5475, allocations: 11.88 kB / 0.7645 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.5475, allocations: 8 kB / 0.7645 GB, free: 9.031 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001215/0.5487, allocations: 315.6 kB / 0.7648 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005323/0.5493, allocations: 127.8 kB / 0.7649 GB, free: 8.598 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001414/0.5507, allocations: 0.8919 MB / 0.7658 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.5518, allocations: 159.4 kB / 0.7659 GB, free: 7.523 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.714e-05/0.5519, allocations: 28 kB / 0.766 GB, free: 7.496 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001157/0.5531, allocations: 0.509 MB / 0.7665 GB, free: 6.984 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001023/0.5541, allocations: 0.5225 MB / 0.767 GB, free: 6.367 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001591/0.5557, allocations: 0.7062 MB / 0.7677 GB, free: 5.59 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.083e-06/0.5557, allocations: 7.938 kB / 0.7677 GB, free: 5.582 MB / 0.5919 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002641/0.5584, allocations: 1.005 MB / 0.7686 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.779e-05/0.5584, allocations: 14.2 kB / 0.7687 GB, free: 4.555 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.857e-06/0.5584, allocations: 8 kB / 0.7687 GB, free: 4.547 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001054/0.5595, allocations: 292.7 kB / 0.7689 GB, free: 4.258 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005229/0.56, allocations: 131.8 kB / 0.7691 GB, free: 4.129 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00137/0.5614, allocations: 0.9029 MB / 0.7699 GB, free: 3.203 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001151/0.5626, allocations: 131.7 kB / 0.7701 GB, free: 3.074 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.963e-05/0.5626, allocations: 31.98 kB / 0.7701 GB, free: 3.043 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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.0002314/0.5629, allocations: 217.4 kB / 0.7703 GB, free: 2.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002377/0.5631, allocations: 127.2 kB / 0.7704 GB, free: 2.699 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002286/0.5654, allocations: 0.9128 MB / 0.7713 GB, free: 1.766 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.727e-05/0.5654, allocations: 7.984 kB / 0.7713 GB, free: 1.758 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.5655, allocations: 4 kB / 0.7713 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.48e-06/0.5655, allocations: 0 / 0.7713 GB, free: 1.754 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005075/0.5706, allocations: 2.143 MB / 0.7734 GB, free: 15.53 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.275e-06/0.5706, allocations: 3.938 kB / 0.7734 GB, free: 15.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002661/0.5708, allocations: 63.89 kB / 0.7735 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009522/0.5718, allocations: 292.8 kB / 0.7738 GB, free: 15.17 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.285e-05/0.5719, allocations: 19.98 kB / 0.7738 GB, free: 15.15 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001378/0.5732, allocations: 0.923 MB / 0.7747 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.5733, allocations: 8.062 kB / 0.7747 GB, free: 14.2 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003413/0.5767, allocations: 1.149 MB / 0.7758 GB, free: 13 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004502/0.5771, allocations: 272.1 kB / 0.7761 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001994/0.5774, allocations: 15.98 kB / 0.7761 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00084/0.5782, allocations: 67.92 kB / 0.7762 GB, free: 12.63 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.06e-05/0.5783, allocations: 43.77 kB / 0.7762 GB, free: 12.59 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.291e-05/0.5784, allocations: 19.98 kB / 0.7762 GB, free: 12.57 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001261/0.5796, allocations: 0.759 MB / 0.777 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.91e-07/0.5796, allocations: 0 / 0.777 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001623/0.5813, allocations: 0.573 MB / 0.7775 GB, free: 11.23 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 (33): * Single equations (assignments): 28 * 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.004489/0.5858, allocations: 1.964 MB / 0.7794 GB, free: 9.223 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.003118/0.5889, allocations: 1.124 MB / 0.7805 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.5889, allocations: 4.188 kB / 0.7805 GB, free: 8.094 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008578/0.5898, allocations: 346.6 kB / 0.7809 GB, free: 7.758 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00229/0.5921, allocations: 0.5102 MB / 0.7814 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01736/0.6095, allocations: 8.441 MB / 0.7896 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007103/0.6102, allocations: 1.061 MB / 0.7907 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0008611/0.6111, allocations: 224.8 kB / 0.7909 GB, free: 13.19 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005189/0.6116, allocations: 419.3 kB / 0.7913 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of SimCode: time 6.01e-07/0.6116, allocations: 0 / 0.7913 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06654/0.6782, allocations: 33.47 MB / 0.8239 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.7/13.38, allocations: 23.11 kB / 0.824 GB, free: 11.74 MB / 0.6544 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva_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_Examples_Carnot_TEva.fmu > IDEAS_IDEAS.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)