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.001057/0.001057, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001034/0.001034, allocations: 194.6 kB / 16.53 MB, free: 6.699 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.302/1.302, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7161/0.7161, allocations: 132.2 MB / 422.6 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 60.42 kB / 0.5019 GB, free: 8.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1248/0.126, allocations: 80.19 MB / 0.5802 GB, free: 8.645 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Examples.Carnot_TEva): time 0.2642/0.3903, allocations: 61.14 MB / 0.6399 GB, free: 21.7 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01158/0.4019, allocations: 11.98 MB / 0.6516 GB, free: 13.12 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001663/0.4036, allocations: 60.12 kB / 0.6517 GB, free: 13.09 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.405, allocations: 0.6792 MB / 0.6523 GB, free: 12.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.003978/0.409, allocations: 1.96 MB / 0.6542 GB, free: 11.48 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002266/0.4113, allocations: 1.2 MB / 0.6554 GB, free: 10.82 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002652/0.4139, allocations: 3.071 MB / 0.6584 GB, free: 9.305 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00112/0.4151, allocations: 1.092 MB / 0.6595 GB, free: 8.773 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002425/0.4175, allocations: 1.335 MB / 0.6608 GB, free: 8.105 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001177/0.4187, allocations: 0.8889 MB / 0.6616 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001925/0.4189, allocations: 113.7 kB / 0.6617 GB, free: 7.695 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002573/0.4215, allocations: 1.451 MB / 0.6632 GB, free: 7.199 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000244/0.4217, allocations: 291.3 kB / 0.6634 GB, free: 7.012 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.000667/0.4224, allocations: 0.6922 MB / 0.6641 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003179/0.4256, allocations: 2.279 MB / 0.6663 GB, free: 5.715 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.227e-06/0.4256, allocations: 9.062 kB / 0.6663 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of FrontEnd: time 8.62e-07/0.4256, allocations: 0 / 0.6663 GB, free: 5.707 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.043e-05/0.4256, allocations: 0 / 0.6663 GB, free: 5.707 MB / 0.4981 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.002694/0.4283, allocations: 1.72 MB / 0.668 GB, free: 4.535 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.579e-05/0.4284, allocations: 13.31 kB / 0.668 GB, free: 4.531 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001184/0.4285, allocations: 122.8 kB / 0.6682 GB, free: 4.445 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00212/0.4306, allocations: 410.1 kB / 0.6685 GB, free: 4.359 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001826/0.4325, allocations: 1.112 MB / 0.6696 GB, free: 3.652 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003426/0.4328, allocations: 114.2 kB / 0.6697 GB, free: 3.621 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001145/0.433, allocations: 83.72 kB / 0.6698 GB, free: 3.594 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001857/0.4348, allocations: 1.002 MB / 0.6708 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.4348, allocations: 1.062 kB / 0.6708 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.373e-05/0.4349, allocations: 32.28 kB / 0.6708 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.859e-05/0.435, allocations: 20.28 kB / 0.6709 GB, free: 3.078 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002168/0.4371, allocations: 0.86 MB / 0.6717 GB, free: 2.789 MB / 0.4981 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.005953/0.4431, allocations: 5.257 MB / 0.6768 GB, free: 14.7 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003748/0.4469, allocations: 0.797 MB / 0.6776 GB, free: 14.48 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/0.448, allocations: 301.9 kB / 0.6779 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006796/0.4487, allocations: 0.904 MB / 0.6788 GB, free: 13.34 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.935e-05/0.4488, allocations: 41.91 kB / 0.6788 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=43): time 2.275e-06/0.4488, allocations: 0 / 0.6788 GB, free: 13.29 MB / 0.5137 GB Notification: Performance of matching and sorting (n=43): time 0.007438/0.4562, allocations: 1.749 MB / 0.6805 GB, free: 12.81 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.455e-05/0.4563, allocations: 59.53 kB / 0.6806 GB, free: 12.74 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001611/0.4579, allocations: 1.076 MB / 0.6816 GB, free: 12.3 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 7.068e-05/0.458, allocations: 39.11 kB / 0.6817 GB, free: 12.26 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004328/0.4584, allocations: 0.5383 MB / 0.6822 GB, free: 11.83 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4586, allocations: 150 kB / 0.6823 GB, free: 11.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002381/0.4588, allocations: 131.9 kB / 0.6825 GB, free: 11.65 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.4589, allocations: 329.8 kB / 0.6828 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009199/0.4599, allocations: 313.9 kB / 0.6831 GB, free: 11.23 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/0.461, allocations: 0.5294 MB / 0.6836 GB, free: 10.87 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001748/0.4628, allocations: 0.724 MB / 0.6843 GB, free: 10.46 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.4628, allocations: 3.938 kB / 0.6843 GB, free: 10.45 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002803/0.4656, allocations: 1.015 MB / 0.6853 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 2.01e-05/0.4656, allocations: 9.125 kB / 0.6853 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.4656, allocations: 10.84 kB / 0.6853 GB, free: 10.08 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001304/0.467, allocations: 317.3 kB / 0.6856 GB, free: 10 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005485/0.4675, allocations: 127.5 kB / 0.6857 GB, free: 9.988 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001505/0.469, allocations: 0.9205 MB / 0.6866 GB, free: 9.324 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001282/0.4703, allocations: 154.4 kB / 0.6868 GB, free: 9.273 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.53e-05/0.4704, allocations: 35.27 kB / 0.6868 GB, free: 9.266 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001225/0.4716, allocations: 0.5079 MB / 0.6873 GB, free: 9.023 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001076/0.4727, allocations: 0.5321 MB / 0.6878 GB, free: 8.652 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001677/0.4744, allocations: 0.7125 MB / 0.6885 GB, free: 8.25 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.488e-06/0.4744, allocations: 6.828 kB / 0.6885 GB, free: 8.246 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002772/0.4772, allocations: 1.02 MB / 0.6895 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.55e-05/0.4772, allocations: 7.156 kB / 0.6895 GB, free: 7.867 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.4773, allocations: 8.875 kB / 0.6895 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001154/0.4784, allocations: 310.8 kB / 0.6898 GB, free: 7.785 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000551/0.479, allocations: 127 kB / 0.69 GB, free: 7.773 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001515/0.4805, allocations: 0.9142 MB / 0.6909 GB, free: 7.113 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00132/0.4818, allocations: 135.6 kB / 0.691 GB, free: 7.078 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.997e-05/0.4819, allocations: 34.59 kB / 0.691 GB, free: 7.074 MB / 0.5137 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.0002497/0.4822, allocations: 219.3 kB / 0.6912 GB, free: 6.867 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001886/0.4824, allocations: 115.4 kB / 0.6913 GB, free: 6.805 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002456/0.4848, allocations: 0.9341 MB / 0.6923 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.516e-05/0.4849, allocations: 6.188 kB / 0.6923 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.4849, allocations: 0 / 0.6923 GB, free: 6.441 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.368e-06/0.4849, allocations: 7.031 kB / 0.6923 GB, free: 6.438 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00512/0.49, allocations: 2.152 MB / 0.6944 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.095e-06/0.49, allocations: 2.812 kB / 0.6944 GB, free: 5.445 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002752/0.4903, allocations: 64.33 kB / 0.6944 GB, free: 5.438 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001015/0.4913, allocations: 304.6 kB / 0.6947 GB, free: 5.355 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.135e-05/0.4914, allocations: 17.67 kB / 0.6947 GB, free: 5.348 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001483/0.4929, allocations: 0.9383 MB / 0.6957 GB, free: 4.68 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.761e-06/0.4929, allocations: 6.125 kB / 0.6957 GB, free: 4.676 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003678/0.4966, allocations: 1.163 MB / 0.6968 GB, free: 4.164 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000458/0.497, allocations: 268.9 kB / 0.6971 GB, free: 3.957 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/0.4973, allocations: 8.562 kB / 0.6971 GB, free: 3.953 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008813/0.4981, allocations: 73.25 kB / 0.6971 GB, free: 3.941 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.32e-05/0.4982, allocations: 41.27 kB / 0.6972 GB, free: 3.93 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.417e-05/0.4983, allocations: 21.86 kB / 0.6972 GB, free: 3.926 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 0.00125/0.4996, allocations: 0.7521 MB / 0.6979 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of sort global known variables: time 9.979e-06/0.4996, allocations: 1.125 kB / 0.6979 GB, free: 3.609 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.001908/0.5015, allocations: 0.5699 MB / 0.6985 GB, free: 3.492 MB / 0.5137 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.004668/0.5062, allocations: 1.983 MB / 0.7004 GB, free: 2.348 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.003317/0.5095, allocations: 1.151 MB / 0.7015 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 4.198e-06/0.5095, allocations: 1 kB / 0.7015 GB, free: 1.84 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 0.0008805/0.5104, allocations: 352.2 kB / 0.7019 GB, free: 1.68 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002331/0.5127, allocations: 0.5101 MB / 0.7024 GB, free: 1.422 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01756/0.5303, allocations: 8.916 MB / 0.7111 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006139/0.531, allocations: 1.065 MB / 0.7121 GB, free: 9.93 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0009875/0.532, allocations: 224.8 kB / 0.7123 GB, free: 9.707 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000549/0.5325, allocations: 419.3 kB / 0.7127 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of SimCode: time 8.11e-07/0.5325, allocations: 0 / 0.7127 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06096/0.5935, allocations: 33.26 MB / 0.7452 GB, free: 8.477 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.91/11.5, allocations: 15.25 kB / 0.7452 GB, free: 8.465 MB / 0.5606 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)