Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_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.001077/0.001077, 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.001135/0.001135, allocations: 193.1 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.278/1.278, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002052/0.002052, allocations: 282.8 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9264/0.9264, allocations: 169.3 MB / 0.4982 GB, free: 13.96 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00162/0.00162, allocations: 94.78 kB / 0.5953 GB, free: 27.83 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1404, allocations: 86.98 MB / 0.6803 GB, free: 0.6016 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3929/0.5333, allocations: 132.2 MB / 0.8094 GB, free: 33.63 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02576/0.5591, allocations: 23.23 MB / 0.8321 GB, free: 24.69 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004219/0.5634, allocations: 125.8 kB / 0.8322 GB, free: 24.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003433/0.5669, allocations: 1.488 MB / 0.8336 GB, free: 23.7 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009911/0.5768, allocations: 4.105 MB / 0.8376 GB, free: 21.23 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004872/0.5817, allocations: 2.159 MB / 0.8398 GB, free: 19.63 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008186/0.5899, allocations: 6.527 MB / 0.8461 GB, free: 15.81 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002983/0.5929, allocations: 2.355 MB / 0.8484 GB, free: 14.3 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005554/0.5985, allocations: 2.749 MB / 0.8511 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002685/0.6012, allocations: 1.885 MB / 0.853 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0004418/0.6016, allocations: 247.9 kB / 0.8532 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004374/0.606, allocations: 1.931 MB / 0.8551 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.6065, allocations: 0.6017 MB / 0.8557 GB, free: 9.949 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001575/0.6081, allocations: 1.461 MB / 0.8571 GB, free: 8.961 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.6131, allocations: 4.336 MB / 0.8613 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.43e-06/0.6131, allocations: 2.031 kB / 0.8613 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.744e-06/0.6132, allocations: 0 / 0.8613 GB, free: 6.059 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.156e-05/0.6132, allocations: 0 / 0.8613 GB, free: 6.059 MB / 0.5606 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.004748/0.618, allocations: 3.185 MB / 0.8644 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.84e-05/0.618, allocations: 9.406 kB / 0.8644 GB, free: 3.695 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000206/0.6182, allocations: 217 kB / 0.8647 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004231/0.6225, allocations: 0.849 MB / 0.8655 GB, free: 3.125 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003432/0.6259, allocations: 2.199 MB / 0.8676 GB, free: 1.191 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008847/0.6268, allocations: 294.8 kB / 0.8679 GB, free: 0.9023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.627, allocations: 160 kB / 0.8681 GB, free: 0.7461 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00379/0.6308, allocations: 1.938 MB / 0.87 GB, free: 14.74 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.733e-05/0.6309, allocations: 7.875 kB / 0.87 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001477/0.631, allocations: 60 kB / 0.87 GB, free: 14.68 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.773e-05/0.631, allocations: 40 kB / 0.8701 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004782/0.6358, allocations: 1.831 MB / 0.8718 GB, free: 12.8 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.01208/0.6479, allocations: 9.081 MB / 0.8807 GB, free: 3.125 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004239/0.6522, allocations: 1.196 MB / 0.8819 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.6533, allocations: 462 kB / 0.8823 GB, free: 1.461 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.6546, allocations: 1.726 MB / 0.884 GB, free: 15.35 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.991e-05/0.6546, allocations: 46.3 kB / 0.8841 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.026e-06/0.6546, allocations: 4 kB / 0.8841 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008653/0.6633, allocations: 2.328 MB / 0.8863 GB, free: 12.91 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.064e-05/0.6634, allocations: 89.05 kB / 0.8864 GB, free: 12.8 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004223/0.6676, allocations: 2.544 MB / 0.8889 GB, free: 10.24 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001859/0.6678, allocations: 45.7 kB / 0.8889 GB, free: 10.19 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.000845/0.6686, allocations: 1.045 MB / 0.89 GB, free: 9.133 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002828/0.6689, allocations: 280.1 kB / 0.8902 GB, free: 8.855 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004156/0.6694, allocations: 250.6 kB / 0.8905 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.6695, allocations: 349.9 kB / 0.8908 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001787/0.6713, allocations: 0.5842 MB / 0.8914 GB, free: 7.672 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002097/0.6734, allocations: 0.9699 MB / 0.8923 GB, free: 6.559 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00303/0.6764, allocations: 1.268 MB / 0.8936 GB, free: 5.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.25e-06/0.6764, allocations: 3.938 kB / 0.8936 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006556/0.683, allocations: 2.04 MB / 0.8956 GB, free: 3.121 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.052e-05/0.683, allocations: 8 kB / 0.8956 GB, free: 3.113 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.286e-05/0.6831, allocations: 8 kB / 0.8956 GB, free: 3.105 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001732/0.6848, allocations: 0.4912 MB / 0.896 GB, free: 2.609 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001244/0.6861, allocations: 291.6 kB / 0.8963 GB, free: 2.324 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002083/0.6882, allocations: 1.527 MB / 0.8978 GB, free: 0.7461 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002798/0.691, allocations: 387.2 kB / 0.8982 GB, free: 376 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001328/0.6911, allocations: 55.97 kB / 0.8982 GB, free: 320 kB / 0.5919 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.0007852/0.6919, allocations: 465.5 kB / 0.8987 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004468/0.6924, allocations: 248.9 kB / 0.8989 GB, free: 15.6 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003626/0.696, allocations: 1.513 MB / 0.9004 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.987e-05/0.696, allocations: 12 kB / 0.9004 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.696, allocations: 0 / 0.9004 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.175e-05/0.6961, allocations: 3.984 kB / 0.9004 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007424/0.7035, allocations: 3.619 MB / 0.9039 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.204e-05/0.7035, allocations: 4 kB / 0.904 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006221/0.7042, allocations: 135.7 kB / 0.9041 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001643/0.7058, allocations: 489.3 kB / 0.9045 GB, free: 9.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.448e-05/0.7059, allocations: 31.98 kB / 0.9046 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002573/0.7085, allocations: 1.582 MB / 0.9061 GB, free: 8.051 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.7085, allocations: 4 kB / 0.9061 GB, free: 8.047 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00608/0.7146, allocations: 1.939 MB / 0.908 GB, free: 6.051 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001105/0.7157, allocations: 497.5 kB / 0.9085 GB, free: 5.543 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005684/0.7163, allocations: 19.98 kB / 0.9085 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001976/0.7183, allocations: 143.8 kB / 0.9087 GB, free: 5.383 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.7184, allocations: 63.8 kB / 0.9087 GB, free: 5.32 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001019/0.7185, allocations: 43.97 kB / 0.9088 GB, free: 5.277 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003372/0.7219, allocations: 1.785 MB / 0.9105 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.4e-07/0.7219, allocations: 0 / 0.9105 GB, free: 3.488 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.002255/0.7241, allocations: 0.6945 MB / 0.9112 GB, free: 2.793 MB / 0.6075 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.007245/0.7314, allocations: 3.006 MB / 0.9141 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004502/0.7359, allocations: 1.385 MB / 0.9155 GB, free: 14.34 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.594e-06/0.736, allocations: 4 kB / 0.9155 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002453/0.7384, allocations: 0.6792 MB / 0.9161 GB, free: 13.65 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006357/0.7448, allocations: 1.336 MB / 0.9174 GB, free: 12.36 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03497/0.7798, allocations: 19.23 MB / 0.9362 GB, free: 7.629 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001067/0.7809, allocations: 1.497 MB / 0.9377 GB, free: 6.098 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00199/0.7829, allocations: 431.6 kB / 0.9381 GB, free: 5.68 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001205/0.7841, allocations: 0.8976 MB / 0.939 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of SimCode: time 8.41e-07/0.7841, allocations: 0 / 0.939 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1069/0.891, allocations: 68.56 MB / 1.006 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.99/12.88, allocations: 10.97 kB / 1.006 GB, free: 1.117 MB / 0.7012 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.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 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)