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.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.001048/0.001048, allocations: 195 kB / 16.53 MB, free: 6.664 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.265/1.265, allocations: 222.9 MB / 240.2 MB, free: 4.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7241/0.7241, allocations: 132.2 MB / 422.6 MB, free: 1.84 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001178/0.001178, allocations: 64.23 kB / 0.5019 GB, free: 3.832 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3246/0.3258, allocations: 80.2 MB / 0.5802 GB, free: 4.594 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05571/0.3816, allocations: 61.17 MB / 0.6399 GB, free: 4.238 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3966, allocations: 11.98 MB / 0.6516 GB, free: 8.234 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001541/0.3981, allocations: 59.69 kB / 0.6517 GB, free: 8.176 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001652/0.3998, allocations: 0.6908 MB / 0.6524 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00434/0.4042, allocations: 1.955 MB / 0.6543 GB, free: 5.516 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002697/0.4069, allocations: 1.186 MB / 0.6554 GB, free: 4.34 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00347/0.4104, allocations: 3.083 MB / 0.6584 GB, free: 1.25 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001268/0.4117, allocations: 1.1 MB / 0.6595 GB, free: 124 kB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002303/0.414, allocations: 1.321 MB / 0.6608 GB, free: 14.8 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001033/0.415, allocations: 0.9023 MB / 0.6617 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001692/0.4152, allocations: 116 kB / 0.6618 GB, free: 13.78 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002396/0.4176, allocations: 1.478 MB / 0.6632 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002567/0.4179, allocations: 286.9 kB / 0.6635 GB, free: 12.02 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0006132/0.4185, allocations: 0.6997 MB / 0.6642 GB, free: 11.31 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002497/0.421, allocations: 2.302 MB / 0.6664 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.421, allocations: 0 / 0.6664 GB, free: 9.004 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.052e-06/0.421, allocations: 3.938 kB / 0.6664 GB, free: 9 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.301e-05/0.421, allocations: 4 kB / 0.6664 GB, free: 8.996 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.002617/0.4237, allocations: 1.742 MB / 0.6681 GB, free: 7.191 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.4237, allocations: 12.03 kB / 0.6682 GB, free: 7.18 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001261/0.4238, allocations: 122.9 kB / 0.6683 GB, free: 7.051 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001634/0.4255, allocations: 346.5 kB / 0.6686 GB, free: 6.711 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001781/0.4273, allocations: 1.097 MB / 0.6697 GB, free: 5.559 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003475/0.4276, allocations: 113.9 kB / 0.6698 GB, free: 5.445 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001178/0.4278, allocations: 87.98 kB / 0.6699 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001715/0.4295, allocations: 0.9741 MB / 0.6708 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.706e-05/0.4295, allocations: 0 / 0.6708 GB, free: 4.328 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.51e-05/0.4296, allocations: 32 kB / 0.6708 GB, free: 4.297 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.723e-05/0.4296, allocations: 23.94 kB / 0.6709 GB, free: 4.273 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002004/0.4316, allocations: 0.8118 MB / 0.6717 GB, free: 3.457 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.005716/0.4374, allocations: 5.185 MB / 0.6767 GB, free: 13.89 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001532/0.4389, allocations: 0.5752 MB / 0.6773 GB, free: 13.31 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006254/0.4395, allocations: 272.7 kB / 0.6775 GB, free: 13.04 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001318/0.4409, allocations: 1.369 MB / 0.6789 GB, free: 11.38 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.576e-05/0.4409, allocations: 42.5 kB / 0.6789 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=44): time 1.633e-06/0.4409, allocations: 0 / 0.6789 GB, free: 11.33 MB / 0.5137 GB Notification: Performance of matching and sorting (n=44): time 0.005871/0.4468, allocations: 1.541 MB / 0.6804 GB, free: 9.758 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.155e-05/0.4468, allocations: 59.41 kB / 0.6805 GB, free: 9.688 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001374/0.4482, allocations: 1.076 MB / 0.6815 GB, free: 8.598 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 4.39e-05/0.4483, allocations: 37.64 kB / 0.6816 GB, free: 8.555 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003994/0.4487, allocations: 0.5312 MB / 0.6821 GB, free: 8.02 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001135/0.4488, allocations: 157.8 kB / 0.6822 GB, free: 7.863 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002143/0.449, allocations: 138.2 kB / 0.6824 GB, free: 7.719 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001069/0.4491, allocations: 333.9 kB / 0.6827 GB, free: 7.387 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007815/0.4499, allocations: 283.3 kB / 0.683 GB, free: 7.109 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009515/0.4509, allocations: 0.4883 MB / 0.6834 GB, free: 6.531 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001462/0.4524, allocations: 0.6718 MB / 0.6841 GB, free: 5.797 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.4524, allocations: 4 kB / 0.6841 GB, free: 5.793 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002396/0.4548, allocations: 0.9617 MB / 0.685 GB, free: 4.82 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/0.4548, allocations: 12.03 kB / 0.6851 GB, free: 4.809 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.296e-06/0.4548, allocations: 4 kB / 0.6851 GB, free: 4.805 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00125/0.4561, allocations: 324.6 kB / 0.6854 GB, free: 4.484 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004557/0.4565, allocations: 119.8 kB / 0.6855 GB, free: 4.367 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001446/0.458, allocations: 0.9259 MB / 0.6864 GB, free: 3.418 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.459, allocations: 139.2 kB / 0.6865 GB, free: 3.281 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.509e-05/0.4591, allocations: 39.98 kB / 0.6866 GB, free: 3.242 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001015/0.4601, allocations: 497.2 kB / 0.687 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.0009309/0.4611, allocations: 0.4884 MB / 0.6875 GB, free: 2.176 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00144/0.4625, allocations: 0.6577 MB / 0.6881 GB, free: 1.453 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.103e-06/0.4625, allocations: 7.984 kB / 0.6882 GB, free: 1.445 MB / 0.5137 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002392/0.4649, allocations: 0.9616 MB / 0.6891 GB, free: 484 kB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.465, allocations: 8 kB / 0.6891 GB, free: 476 kB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.46e-06/0.465, allocations: 4 kB / 0.6891 GB, free: 472 kB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001077/0.466, allocations: 316.6 kB / 0.6894 GB, free: 152 kB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004463/0.4665, allocations: 119.8 kB / 0.6895 GB, free: 32 kB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.4679, allocations: 0.9075 MB / 0.6904 GB, free: 15.1 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001005/0.469, allocations: 127.5 kB / 0.6905 GB, free: 14.97 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/0.469, allocations: 31.98 kB / 0.6906 GB, free: 14.94 MB / 0.5294 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.0001696/0.4692, allocations: 228 kB / 0.6908 GB, free: 14.71 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001621/0.4694, allocations: 110.6 kB / 0.6909 GB, free: 14.6 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002184/0.4716, allocations: 0.901 MB / 0.6918 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.376e-05/0.4716, allocations: 11.98 kB / 0.6918 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.109e-06/0.4716, allocations: 4 kB / 0.6918 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.531e-06/0.4716, allocations: 3.938 kB / 0.6918 GB, free: 13.67 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005481/0.4771, allocations: 2.219 MB / 0.6939 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.849e-06/0.4771, allocations: 0 / 0.6939 GB, free: 11.37 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002074/0.4773, allocations: 63.91 kB / 0.694 GB, free: 11.3 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009889/0.4783, allocations: 309.7 kB / 0.6943 GB, free: 11 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.173e-05/0.4784, allocations: 12 kB / 0.6943 GB, free: 10.99 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001462/0.4798, allocations: 0.9509 MB / 0.6952 GB, free: 10.02 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.569e-06/0.4799, allocations: 11.88 kB / 0.6953 GB, free: 10 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004143/0.484, allocations: 1.251 MB / 0.6965 GB, free: 8.707 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003046/0.4843, allocations: 263.5 kB / 0.6967 GB, free: 8.43 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001317/0.4845, allocations: 12 kB / 0.6967 GB, free: 8.418 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007252/0.4852, allocations: 67.92 kB / 0.6968 GB, free: 8.352 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.678e-05/0.4853, allocations: 31.95 kB / 0.6968 GB, free: 8.32 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/0.4853, allocations: 23.98 kB / 0.6969 GB, free: 8.297 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 0.001027/0.4864, allocations: 0.7551 MB / 0.6976 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4864, allocations: 0 / 0.6976 GB, free: 7.535 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.001336/0.4877, allocations: 0.5848 MB / 0.6982 GB, free: 6.949 MB / 0.5294 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.004356/0.4921, allocations: 1.985 MB / 0.7001 GB, free: 4.914 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.00275/0.4948, allocations: 1.062 MB / 0.7011 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/0.4949, allocations: 0 / 0.7011 GB, free: 3.852 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0007619/0.4956, allocations: 326.5 kB / 0.7015 GB, free: 3.535 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002082/0.4977, allocations: 0.5061 MB / 0.7019 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0131/0.5108, allocations: 8.394 MB / 0.7101 GB, free: 10.19 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005603/0.5114, allocations: 1.061 MB / 0.7112 GB, free: 9.098 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 0.0008291/0.5122, allocations: 227.5 kB / 0.7114 GB, free: 8.879 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004821/0.5127, allocations: 423.3 kB / 0.7118 GB, free: 8.465 MB / 0.545 GB Notification: Performance of SimCode: time 7.41e-07/0.5127, allocations: 0 / 0.7118 GB, free: 8.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05462/0.5674, allocations: 33.71 MB / 0.7447 GB, free: 7.238 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.81/11.38, allocations: 13.02 kB / 0.7447 GB, free: 7.227 MB / 0.5762 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)