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.001456/0.001455, allocations: 108 kB / 15.6 MB, free: 132 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.001244/0.001244, allocations: 195.1 kB / 16.53 MB, free: 6.391 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.3/1.3, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002308/0.002308, allocations: 282.9 kB / 290.7 MB, free: 2.02 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9479/0.9479, allocations: 169.2 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 100.9 kB / 0.5953 GB, free: 27.92 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1358/0.1377, allocations: 86.98 MB / 0.6803 GB, free: 0.5898 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3956/0.5333, allocations: 132.2 MB / 0.8094 GB, free: 33.58 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02703/0.5603, allocations: 23.24 MB / 0.8321 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004313/0.5647, allocations: 124.4 kB / 0.8322 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003329/0.5681, allocations: 1.496 MB / 0.8337 GB, free: 23.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009436/0.5775, allocations: 4.096 MB / 0.8377 GB, free: 21.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004411/0.5819, allocations: 2.154 MB / 0.8398 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.006762/0.5887, allocations: 6.522 MB / 0.8461 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002525/0.5913, allocations: 2.363 MB / 0.8484 GB, free: 14.27 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005363/0.5966, allocations: 2.748 MB / 0.8511 GB, free: 12.59 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002265/0.5989, allocations: 1.881 MB / 0.853 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0003373/0.5993, allocations: 250 kB / 0.8532 GB, free: 11.44 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00365/0.6029, allocations: 1.93 MB / 0.8551 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003964/0.6033, allocations: 0.601 MB / 0.8557 GB, free: 9.926 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001214/0.6045, allocations: 1.467 MB / 0.8571 GB, free: 8.934 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004432/0.609, allocations: 4.331 MB / 0.8613 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.609, allocations: 0 / 0.8613 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.633e-06/0.609, allocations: 0 / 0.8613 GB, free: 6.035 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 3.212e-05/0.6091, allocations: 2.719 kB / 0.8613 GB, free: 6.035 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.004441/0.6135, allocations: 3.183 MB / 0.8644 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/0.6135, allocations: 8.688 kB / 0.8644 GB, free: 3.672 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002049/0.6138, allocations: 222.5 kB / 0.8647 GB, free: 3.492 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00439/0.6182, allocations: 0.8422 MB / 0.8655 GB, free: 3.105 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003215/0.6214, allocations: 2.203 MB / 0.8676 GB, free: 1.184 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009344/0.6223, allocations: 298.8 kB / 0.8679 GB, free: 0.8906 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001883/0.6225, allocations: 164 kB / 0.8681 GB, free: 0.7305 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003757/0.6263, allocations: 1.934 MB / 0.87 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.931e-05/0.6263, allocations: 3.938 kB / 0.87 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001549/0.6265, allocations: 64 kB / 0.87 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.799e-05/0.6265, allocations: 36 kB / 0.8701 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004857/0.6314, allocations: 1.831 MB / 0.8718 GB, free: 12.79 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.01207/0.6435, allocations: 9.077 MB / 0.8807 GB, free: 3.121 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004603/0.6481, allocations: 1.199 MB / 0.8819 GB, free: 1.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.6493, allocations: 462 kB / 0.8823 GB, free: 1.453 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001152/0.6505, allocations: 1.723 MB / 0.884 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.512e-05/0.6505, allocations: 46.3 kB / 0.884 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 4.949e-06/0.6505, allocations: 0 / 0.884 GB, free: 15.29 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008926/0.6594, allocations: 2.348 MB / 0.8863 GB, free: 12.89 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.6595, allocations: 85.11 kB / 0.8864 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003898/0.6634, allocations: 2.544 MB / 0.8889 GB, free: 10.22 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 9.61e-05/0.6635, allocations: 45.7 kB / 0.889 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.6644, allocations: 1.038 MB / 0.89 GB, free: 9.125 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002453/0.6646, allocations: 276.1 kB / 0.8902 GB, free: 8.852 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004233/0.665, allocations: 250.6 kB / 0.8905 GB, free: 8.602 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001147/0.6652, allocations: 345.9 kB / 0.8908 GB, free: 8.258 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001941/0.6671, allocations: 0.5881 MB / 0.8914 GB, free: 7.668 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.6694, allocations: 0.9699 MB / 0.8923 GB, free: 6.555 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003225/0.6726, allocations: 1.268 MB / 0.8936 GB, free: 5.18 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.672e-06/0.6726, allocations: 4 kB / 0.8936 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006892/0.6795, allocations: 2.048 MB / 0.8956 GB, free: 3.109 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.968e-05/0.6795, allocations: 8 kB / 0.8956 GB, free: 3.102 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.247e-05/0.6796, allocations: 8 kB / 0.8956 GB, free: 3.094 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001784/0.6813, allocations: 0.4898 MB / 0.8961 GB, free: 2.598 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001297/0.6827, allocations: 291.6 kB / 0.8963 GB, free: 2.312 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/0.6849, allocations: 1.518 MB / 0.8978 GB, free: 0.7422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002791/0.6877, allocations: 387.2 kB / 0.8982 GB, free: 372 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001309/0.6878, allocations: 59.97 kB / 0.8982 GB, free: 312 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.000727/0.6886, allocations: 465.4 kB / 0.8987 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004294/0.689, allocations: 248.9 kB / 0.8989 GB, free: 15.59 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/0.6928, allocations: 1.508 MB / 0.9004 GB, free: 14.08 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.899e-05/0.6929, allocations: 12 kB / 0.9004 GB, free: 14.07 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.6929, allocations: 3.938 kB / 0.9004 GB, free: 14.06 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.172e-05/0.6929, allocations: 7.984 kB / 0.9004 GB, free: 14.05 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007672/0.7006, allocations: 3.623 MB / 0.904 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.019e-05/0.7006, allocations: 7.938 kB / 0.904 GB, free: 10.31 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006384/0.7012, allocations: 123.8 kB / 0.9041 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001652/0.7029, allocations: 0.4893 MB / 0.9046 GB, free: 9.695 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.703, allocations: 19.98 kB / 0.9046 GB, free: 9.676 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002726/0.7057, allocations: 1.595 MB / 0.9061 GB, free: 8.031 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.368e-06/0.7057, allocations: 8.062 kB / 0.9061 GB, free: 8.023 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006076/0.7118, allocations: 1.935 MB / 0.908 GB, free: 6.031 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008549/0.7127, allocations: 493.5 kB / 0.9085 GB, free: 5.527 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003623/0.713, allocations: 16 kB / 0.9085 GB, free: 5.512 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001795/0.7148, allocations: 143.8 kB / 0.9087 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001073/0.715, allocations: 67.8 kB / 0.9087 GB, free: 5.305 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.862e-05/0.7151, allocations: 39.97 kB / 0.9088 GB, free: 5.266 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002928/0.718, allocations: 1.789 MB / 0.9105 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.718, allocations: 0 / 0.9105 GB, free: 3.473 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001742/0.7198, allocations: 0.6867 MB / 0.9112 GB, free: 2.785 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.007571/0.7273, allocations: 2.998 MB / 0.9141 GB, free: 15.72 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.00444/0.7318, allocations: 1.392 MB / 0.9155 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.879e-06/0.7318, allocations: 0 / 0.9155 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002519/0.7343, allocations: 0.6753 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.005924/0.7403, allocations: 1.341 MB / 0.9174 GB, free: 12.35 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03452/0.7748, allocations: 19.23 MB / 0.9362 GB, free: 7.621 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001076/0.7759, allocations: 1.497 MB / 0.9377 GB, free: 6.09 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001939/0.7779, allocations: 433.8 kB / 0.9381 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001171/0.779, allocations: 0.9053 MB / 0.939 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of SimCode: time 8.52e-07/0.7791, allocations: 0 / 0.939 GB, free: 4.766 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1148/0.8939, allocations: 68.55 MB / 1.006 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.87/13.77, allocations: 12 kB / 1.006 GB, free: 1.105 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)