Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.00482/0.00482, allocations: 99.41 kB / 15.73 MB, free: 6.004 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.0012/0.0012, allocations: 191.7 kB / 16.67 MB, free: 5.93 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.298/1.298, allocations: 222.9 MB / 240.4 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7937/0.7937, allocations: 135.1 MB / 425.7 MB, free: 4.059 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00122/0.001221, allocations: 63.94 kB / 0.5851 GB, free: 21.87 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1256/0.1268, allocations: 80.93 MB / 0.6642 GB, free: 6.27 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4119/0.5388, allocations: 132.2 MB / 0.7932 GB, free: 16.72 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02538/0.5642, allocations: 23.21 MB / 0.8159 GB, free: 1.613 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004026/0.5683, allocations: 121.1 kB / 0.816 GB, free: 1.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003385/0.5717, allocations: 1.528 MB / 0.8175 GB, free: 0.543 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01037/0.5821, allocations: 4.308 MB / 0.8217 GB, free: 13.12 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005219/0.5873, allocations: 2.175 MB / 0.8238 GB, free: 11.42 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.007741/0.5951, allocations: 6.563 MB / 0.8303 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.5986, allocations: 2.362 MB / 0.8326 GB, free: 5.988 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006127/0.6047, allocations: 2.819 MB / 0.8353 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00381/0.6085, allocations: 1.89 MB / 0.8372 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0007511/0.6093, allocations: 248.6 kB / 0.8374 GB, free: 3.082 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005111/0.6144, allocations: 1.942 MB / 0.8393 GB, free: 1.711 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0009402/0.6154, allocations: 0.6032 MB / 0.8399 GB, free: 1.105 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002644/0.618, allocations: 1.466 MB / 0.8413 GB, free: 15.63 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.007146/0.6252, allocations: 4.404 MB / 0.8456 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.108e-06/0.6252, allocations: 0 / 0.8456 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.412e-06/0.6252, allocations: 0 / 0.8456 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.488e-05/0.6253, allocations: 0 / 0.8456 GB, free: 11.22 MB / 0.6075 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.005282/0.6306, allocations: 3.278 MB / 0.8488 GB, free: 7.855 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.07e-05/0.6306, allocations: 13.11 kB / 0.8488 GB, free: 7.844 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002328/0.6309, allocations: 215.8 kB / 0.849 GB, free: 7.621 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004217/0.6351, allocations: 0.8644 MB / 0.8499 GB, free: 6.754 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004092/0.6392, allocations: 2.337 MB / 0.8522 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001051/0.6393, allocations: 123 kB / 0.8523 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002197/0.6395, allocations: 160 kB / 0.8524 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003842/0.6434, allocations: 1.925 MB / 0.8543 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.905e-05/0.6434, allocations: 0 / 0.8543 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000151/0.6436, allocations: 60 kB / 0.8544 GB, free: 2.02 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.107e-05/0.6436, allocations: 47.92 kB / 0.8544 GB, free: 1.973 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004704/0.6483, allocations: 1.803 MB / 0.8562 GB, free: 172 kB / 0.6075 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.01193/0.6603, allocations: 9.016 MB / 0.865 GB, free: 6.551 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004398/0.6647, allocations: 1.203 MB / 0.8662 GB, free: 5.336 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001164/0.6659, allocations: 461.3 kB / 0.8666 GB, free: 4.879 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001186/0.6671, allocations: 1.73 MB / 0.8683 GB, free: 2.762 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.819e-05/0.6671, allocations: 42.5 kB / 0.8683 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.305e-06/0.6671, allocations: 0 / 0.8683 GB, free: 2.711 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008836/0.676, allocations: 2.345 MB / 0.8706 GB, free: 324 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.943e-05/0.6761, allocations: 89.11 kB / 0.8707 GB, free: 216 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004752/0.6808, allocations: 2.52 MB / 0.8732 GB, free: 13.67 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001051/0.6809, allocations: 45.7 kB / 0.8732 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009071/0.6819, allocations: 1.054 MB / 0.8742 GB, free: 12.56 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002557/0.6821, allocations: 289.6 kB / 0.8745 GB, free: 12.27 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004247/0.6826, allocations: 254.7 kB / 0.8748 GB, free: 12.02 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001298/0.6827, allocations: 349.9 kB / 0.8751 GB, free: 11.67 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001775/0.6845, allocations: 0.5762 MB / 0.8757 GB, free: 11.09 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002101/0.6866, allocations: 0.9504 MB / 0.8766 GB, free: 9.996 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00308/0.6897, allocations: 1.252 MB / 0.8778 GB, free: 8.637 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.955e-06/0.6897, allocations: 4 kB / 0.8778 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006502/0.6962, allocations: 2.029 MB / 0.8798 GB, free: 6.586 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.937e-05/0.6962, allocations: 8 kB / 0.8798 GB, free: 6.578 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.361e-05/0.6963, allocations: 8 kB / 0.8798 GB, free: 6.57 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001745/0.698, allocations: 0.4899 MB / 0.8803 GB, free: 6.074 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001164/0.6992, allocations: 275.6 kB / 0.8805 GB, free: 5.805 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00217/0.7014, allocations: 1.518 MB / 0.882 GB, free: 4.234 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002493/0.7039, allocations: 370.5 kB / 0.8824 GB, free: 3.871 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000132/0.704, allocations: 59.97 kB / 0.8824 GB, free: 3.812 MB / 0.6387 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007474/0.7048, allocations: 461.8 kB / 0.8829 GB, free: 3.352 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004804/0.7053, allocations: 266.2 kB / 0.8831 GB, free: 3.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003687/0.709, allocations: 1.501 MB / 0.8846 GB, free: 1.574 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.718e-05/0.709, allocations: 8 kB / 0.8846 GB, free: 1.566 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.973e-06/0.709, allocations: 4 kB / 0.8846 GB, free: 1.562 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.026e-05/0.709, allocations: 3.984 kB / 0.8846 GB, free: 1.559 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007476/0.7165, allocations: 3.623 MB / 0.8882 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.7165, allocations: 4 kB / 0.8882 GB, free: 13.82 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006271/0.7172, allocations: 132.1 kB / 0.8883 GB, free: 13.69 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001611/0.7188, allocations: 493 kB / 0.8888 GB, free: 13.2 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.778e-05/0.7189, allocations: 23.97 kB / 0.8888 GB, free: 13.18 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00267/0.7215, allocations: 1.586 MB / 0.8903 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.923e-06/0.7216, allocations: 7.984 kB / 0.8903 GB, free: 11.54 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005983/0.7275, allocations: 1.948 MB / 0.8922 GB, free: 9.523 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008639/0.7284, allocations: 0.495 MB / 0.8927 GB, free: 9.008 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004119/0.7288, allocations: 27.94 kB / 0.8927 GB, free: 8.98 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001742/0.7306, allocations: 135.8 kB / 0.8929 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.7307, allocations: 63.73 kB / 0.8929 GB, free: 8.785 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.837e-05/0.7308, allocations: 43.95 kB / 0.893 GB, free: 8.742 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.003031/0.7338, allocations: 1.766 MB / 0.8947 GB, free: 6.973 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2e-07/0.7338, allocations: 8 kB / 0.8947 GB, free: 6.965 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001806/0.7357, allocations: 0.6941 MB / 0.8954 GB, free: 6.27 MB / 0.6544 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007348/0.743, allocations: 3.02 MB / 0.8983 GB, free: 3.188 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004111/0.7471, allocations: 1.342 MB / 0.8996 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.89e-06/0.7472, allocations: 0 / 0.8996 GB, free: 1.848 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.002403/0.7496, allocations: 0.6785 MB / 0.9003 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005968/0.7555, allocations: 1.324 MB / 0.9016 GB, free: 15.86 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03523/0.7908, allocations: 16.74 MB / 0.9179 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001329/0.7922, allocations: 1.497 MB / 0.9194 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001852/0.794, allocations: 431.9 kB / 0.9198 GB, free: 12.69 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001184/0.7952, allocations: 0.9092 MB / 0.9207 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of SimCode: time 7.01e-07/0.7953, allocations: 0 / 0.9207 GB, free: 11.78 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1073/0.9026, allocations: 66.18 MB / 0.9853 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.31/16.21, allocations: 7.938 kB / 0.9853 GB, free: 10.22 MB / 0.7481 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)