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.004813/0.004813, allocations: 97.27 kB / 15.73 MB, free: 6.066 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.001137/0.001137, allocations: 195.9 kB / 16.68 MB, free: 5.973 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.327/1.327, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7929/0.7929, allocations: 135.1 MB / 425.7 MB, free: 4.094 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001246/0.001246, allocations: 65.23 kB / 0.5851 GB, free: 21.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.135/0.1363, allocations: 80.92 MB / 0.6642 GB, free: 6.301 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4197/0.556, allocations: 132.2 MB / 0.7933 GB, free: 16.77 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02527/0.5813, allocations: 23.2 MB / 0.8159 GB, free: 1.684 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004204/0.5856, allocations: 124.9 kB / 0.816 GB, free: 1.637 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.003453/0.5891, allocations: 1.534 MB / 0.8175 GB, free: 0.5977 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01125/0.6003, allocations: 4.308 MB / 0.8217 GB, free: 13.18 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.006044/0.6064, allocations: 2.176 MB / 0.8239 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.009244/0.6156, allocations: 6.548 MB / 0.8302 GB, free: 7.602 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003628/0.6193, allocations: 2.362 MB / 0.8326 GB, free: 6.059 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006252/0.6256, allocations: 2.826 MB / 0.8353 GB, free: 4.309 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00392/0.6295, allocations: 1.884 MB / 0.8372 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.00081/0.6303, allocations: 247.5 kB / 0.8374 GB, free: 3.152 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005603/0.636, allocations: 1.941 MB / 0.8393 GB, free: 1.781 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.001058/0.637, allocations: 0.6031 MB / 0.8399 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002945/0.64, allocations: 1.462 MB / 0.8413 GB, free: 15.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.008931/0.649, allocations: 4.408 MB / 0.8456 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.649, allocations: 0 / 0.8456 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.054e-06/0.649, allocations: 4 kB / 0.8456 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 0.000107/0.6491, allocations: 0 / 0.8456 GB, free: 11.29 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.006578/0.6557, allocations: 3.282 MB / 0.8488 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.878e-05/0.6557, allocations: 9.109 kB / 0.8488 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002495/0.656, allocations: 219.8 kB / 0.849 GB, free: 7.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004725/0.6607, allocations: 0.8644 MB / 0.8499 GB, free: 6.816 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004702/0.6654, allocations: 2.335 MB / 0.8522 GB, free: 4.41 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000115/0.6656, allocations: 123 kB / 0.8523 GB, free: 4.289 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002645/0.6659, allocations: 164 kB / 0.8524 GB, free: 4.129 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004215/0.6701, allocations: 1.923 MB / 0.8543 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.176e-05/0.6701, allocations: 0 / 0.8543 GB, free: 2.141 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.6703, allocations: 64 kB / 0.8544 GB, free: 2.078 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.256e-05/0.6703, allocations: 39.94 kB / 0.8544 GB, free: 2.039 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004809/0.6751, allocations: 1.803 MB / 0.8562 GB, free: 240 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.0125/0.6877, allocations: 9.02 MB / 0.865 GB, free: 6.613 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004514/0.6922, allocations: 1.198 MB / 0.8662 GB, free: 5.398 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001188/0.6934, allocations: 465.3 kB / 0.8666 GB, free: 4.938 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001174/0.6946, allocations: 1.723 MB / 0.8683 GB, free: 2.828 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.638e-05/0.6946, allocations: 46.55 kB / 0.8683 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.544e-06/0.6946, allocations: 0 / 0.8683 GB, free: 2.773 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.009054/0.7037, allocations: 2.345 MB / 0.8706 GB, free: 388 kB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.569e-05/0.7038, allocations: 93.05 kB / 0.8707 GB, free: 276 kB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004051/0.7078, allocations: 2.52 MB / 0.8732 GB, free: 13.73 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 0.0001879/0.708, allocations: 45.7 kB / 0.8732 GB, free: 13.68 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009149/0.709, allocations: 1.058 MB / 0.8742 GB, free: 12.61 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003498/0.7093, allocations: 289.6 kB / 0.8745 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004417/0.7098, allocations: 254.7 kB / 0.8748 GB, free: 12.07 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001224/0.7099, allocations: 345.9 kB / 0.8751 GB, free: 11.73 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001792/0.7117, allocations: 0.5725 MB / 0.8756 GB, free: 11.16 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002121/0.7138, allocations: 0.9504 MB / 0.8766 GB, free: 10.06 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003089/0.7169, allocations: 1.252 MB / 0.8778 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.131e-06/0.717, allocations: 4 kB / 0.8778 GB, free: 8.695 MB / 0.6387 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00676/0.7237, allocations: 2.029 MB / 0.8798 GB, free: 6.648 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.264e-05/0.7238, allocations: 8 kB / 0.8798 GB, free: 6.641 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.491e-05/0.7238, allocations: 8 kB / 0.8798 GB, free: 6.633 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001832/0.7256, allocations: 497.7 kB / 0.8803 GB, free: 6.141 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001221/0.7269, allocations: 279.6 kB / 0.8805 GB, free: 5.867 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002227/0.7291, allocations: 1.522 MB / 0.882 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002951/0.7321, allocations: 374.4 kB / 0.8824 GB, free: 3.926 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001507/0.7322, allocations: 59.97 kB / 0.8824 GB, free: 3.867 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.0008584/0.7331, allocations: 461.9 kB / 0.8829 GB, free: 3.406 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000555/0.7337, allocations: 262.2 kB / 0.8831 GB, free: 3.148 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003752/0.7374, allocations: 1.494 MB / 0.8846 GB, free: 1.637 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.113e-05/0.7375, allocations: 11.98 kB / 0.8846 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.383e-06/0.7375, allocations: 0 / 0.8846 GB, free: 1.625 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.7375, allocations: 3.984 kB / 0.8846 GB, free: 1.621 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007906/0.7454, allocations: 3.631 MB / 0.8882 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.059e-05/0.7454, allocations: 0 / 0.8882 GB, free: 13.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006475/0.7461, allocations: 136.1 kB / 0.8883 GB, free: 13.75 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001753/0.7479, allocations: 483.9 kB / 0.8887 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.365e-05/0.748, allocations: 31.97 kB / 0.8888 GB, free: 13.24 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002706/0.7507, allocations: 1.581 MB / 0.8903 GB, free: 11.61 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.519e-06/0.7507, allocations: 4 kB / 0.8903 GB, free: 11.6 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006322/0.757, allocations: 1.952 MB / 0.8922 GB, free: 9.586 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001182/0.7582, allocations: 0.4988 MB / 0.8927 GB, free: 9.066 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003761/0.7586, allocations: 20.09 kB / 0.8927 GB, free: 9.047 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001769/0.7604, allocations: 143.8 kB / 0.8929 GB, free: 8.906 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001265/0.7605, allocations: 59.67 kB / 0.8929 GB, free: 8.848 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.207e-05/0.7606, allocations: 43.97 kB / 0.893 GB, free: 8.805 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00317/0.7638, allocations: 1.773 MB / 0.8947 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7638, allocations: 0 / 0.8947 GB, free: 7.027 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.002053/0.7659, allocations: 0.698 MB / 0.8954 GB, free: 6.328 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.007495/0.7734, allocations: 3.016 MB / 0.8983 GB, free: 3.25 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.004413/0.7778, allocations: 1.342 MB / 0.8996 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.7779, allocations: 0 / 0.8996 GB, free: 1.91 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.00247/0.7803, allocations: 0.6823 MB / 0.9003 GB, free: 1.227 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00658/0.7869, allocations: 1.333 MB / 0.9016 GB, free: 15.91 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03389/0.8209, allocations: 16.73 MB / 0.9179 GB, free: 14.7 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001011/0.8219, allocations: 1.497 MB / 0.9194 GB, free: 13.17 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001781/0.8237, allocations: 428.6 kB / 0.9198 GB, free: 12.75 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001161/0.8249, allocations: 0.9015 MB / 0.9207 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of SimCode: time 1.062e-06/0.8249, allocations: 0 / 0.9207 GB, free: 11.84 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.111/0.9359, allocations: 66.2 MB / 0.9853 GB, free: 10.28 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.72/16.66, allocations: 3.938 kB / 0.9853 GB, free: 10.27 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)