Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.001134/0.001134, allocations: 101.2 kB / 16.4 MB, free: 6.5 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.001582/0.001582, allocations: 192 kB / 17.34 MB, free: 5.738 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7838/0.7838, allocations: 122.9 MB / 414.1 MB, free: 15.79 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001188/0.001188, allocations: 67.36 kB / 0.5679 GB, free: 28.86 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1463/0.1475, allocations: 77.93 MB / 0.644 GB, free: 9.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.065/0.2126, allocations: 70.43 MB / 0.7128 GB, free: 2.887 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02531/0.2379, allocations: 18.92 MB / 0.7313 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00289/0.2408, allocations: 71.56 kB / 0.7314 GB, free: 15.84 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.002189/0.243, allocations: 0.8385 MB / 0.7322 GB, free: 14.99 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.007012/0.2501, allocations: 3.012 MB / 0.7351 GB, free: 11.97 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003777/0.2539, allocations: 1.658 MB / 0.7368 GB, free: 10.32 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.005146/0.259, allocations: 4.054 MB / 0.7407 GB, free: 6.254 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002322/0.2614, allocations: 1.453 MB / 0.7421 GB, free: 4.766 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004383/0.2658, allocations: 1.822 MB / 0.7439 GB, free: 2.941 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002131/0.2679, allocations: 1.175 MB / 0.7451 GB, free: 1.762 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004493/0.2684, allocations: 176 kB / 0.7452 GB, free: 1.59 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003104/0.2715, allocations: 1.412 MB / 0.7466 GB, free: 180 kB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.3568/0.6283, allocations: 382.6 kB / 0.747 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001966/0.6303, allocations: 0.9153 MB / 0.7479 GB, free: 25.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.006163/0.6365, allocations: 3.118 MB / 0.7509 GB, free: 25 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 6.762e-06/0.6366, allocations: 0.9688 kB / 0.7509 GB, free: 25 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.773e-06/0.6366, allocations: 0 / 0.7509 GB, free: 25 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.915e-05/0.6366, allocations: 1 kB / 0.7509 GB, free: 25 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004363/0.641, allocations: 2.087 MB / 0.753 GB, free: 23.92 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.285e-05/0.6411, allocations: 15.31 kB / 0.753 GB, free: 23.92 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002215/0.6413, allocations: 153.3 kB / 0.7531 GB, free: 23.88 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002639/0.6439, allocations: 455.7 kB / 0.7535 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003044/0.647, allocations: 1.551 MB / 0.7551 GB, free: 23.38 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.956e-05/0.6471, allocations: 81.84 kB / 0.7551 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001897/0.6473, allocations: 104.3 kB / 0.7552 GB, free: 23.37 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002953/0.6502, allocations: 1.319 MB / 0.7565 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.6503, allocations: 5.219 kB / 0.7565 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001149/0.6504, allocations: 43.47 kB / 0.7566 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.328e-05/0.6504, allocations: 29.69 kB / 0.7566 GB, free: 23.09 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003115/0.6536, allocations: 1.103 MB / 0.7577 GB, free: 23.07 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.00783/0.6614, allocations: 7.509 MB / 0.765 GB, free: 18.65 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003292/0.6647, allocations: 0.8055 MB / 0.7658 GB, free: 18.61 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000595/0.6653, allocations: 284.1 kB / 0.7661 GB, free: 18.6 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008549/0.6662, allocations: 1.723 MB / 0.7678 GB, free: 16.63 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.317e-05/0.6662, allocations: 38.12 kB / 0.7678 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.6662, allocations: 0 / 0.7678 GB, free: 16.59 MB / 0.5762 GB Notification: Performance of matching and sorting (n=48): time 0.005016/0.6713, allocations: 1.344 MB / 0.7691 GB, free: 16.34 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.667e-05/0.6713, allocations: 61.47 kB / 0.7692 GB, free: 16.27 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.6749, allocations: 1.545 MB / 0.7707 GB, free: 16.09 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001016/0.675, allocations: 40.02 kB / 0.7707 GB, free: 16.06 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006213/0.6756, allocations: 0.6838 MB / 0.7714 GB, free: 15.82 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001907/0.6758, allocations: 178.6 kB / 0.7715 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.6762, allocations: 177.9 kB / 0.7717 GB, free: 15.68 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.749e-05/0.6763, allocations: 333.4 kB / 0.772 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001028/0.6773, allocations: 364.6 kB / 0.7724 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001162/0.6785, allocations: 0.6665 MB / 0.773 GB, free: 15.02 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001698/0.6802, allocations: 0.8832 MB / 0.7739 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/0.6802, allocations: 2.438 kB / 0.7739 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00304/0.6832, allocations: 1.201 MB / 0.7751 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.328e-05/0.6833, allocations: 8.656 kB / 0.7751 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.778e-05/0.6833, allocations: 8.375 kB / 0.7751 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008875/0.6842, allocations: 222.7 kB / 0.7753 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007656/0.685, allocations: 189.6 kB / 0.7755 GB, free: 14.54 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007652/0.6857, allocations: 0.7234 MB / 0.7762 GB, free: 14.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001885/0.6876, allocations: 217.8 kB / 0.7764 GB, free: 13.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001387/0.6878, allocations: 46.34 kB / 0.7764 GB, free: 13.95 MB / 0.5762 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007399/0.6885, allocations: 356.8 kB / 0.7768 GB, free: 13.83 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003938/0.6889, allocations: 156.3 kB / 0.7769 GB, free: 13.75 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002571/0.6915, allocations: 1.139 MB / 0.778 GB, free: 13.62 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.49e-05/0.6915, allocations: 10.47 kB / 0.7781 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.554e-06/0.6916, allocations: 3 kB / 0.7781 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.336e-06/0.6916, allocations: 6.953 kB / 0.7781 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005375/0.697, allocations: 2.499 MB / 0.7805 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.307e-06/0.697, allocations: 8.469 kB / 0.7805 GB, free: 13.19 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003616/0.6974, allocations: 87.84 kB / 0.7806 GB, free: 13.18 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000718/0.6981, allocations: 210.8 kB / 0.7808 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.096e-05/0.6981, allocations: 22 kB / 0.7808 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001121/0.6993, allocations: 0.7704 MB / 0.7816 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.6993, allocations: 2.844 kB / 0.7816 GB, free: 12.64 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003337/0.7026, allocations: 1.216 MB / 0.7828 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007998/0.7034, allocations: 351.3 kB / 0.7831 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002219/0.7037, allocations: 13.91 kB / 0.7831 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009234/0.7046, allocations: 76.22 kB / 0.7832 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.789e-05/0.7047, allocations: 41.17 kB / 0.7832 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.734e-05/0.7048, allocations: 25.7 kB / 0.7832 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001748/0.7065, allocations: 1.087 MB / 0.7843 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.61e-07/0.7065, allocations: 2.531 kB / 0.7843 GB, free: 12.02 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001562/0.7081, allocations: 456 kB / 0.7847 GB, free: 11.96 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004227/0.7123, allocations: 2.126 MB / 0.7868 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.7145, allocations: 0.8525 MB / 0.7877 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/0.7145, allocations: 1.875 kB / 0.7877 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001224/0.7158, allocations: 442.8 kB / 0.7881 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003152/0.7189, allocations: 0.7416 MB / 0.7888 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01769/0.7366, allocations: 10.49 MB / 0.799 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006155/0.7373, allocations: 1.172 MB / 0.8002 GB, free: 7.199 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001084/0.7384, allocations: 267.5 kB / 0.8004 GB, free: 7.121 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007069/0.7391, allocations: 0.5503 MB / 0.801 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of SimCode: time 8.31e-07/0.7391, allocations: 2.531 kB / 0.801 GB, free: 6.941 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07715/0.8163, allocations: 43.72 MB / 0.8437 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.52/14.34, allocations: 2.344 kB / 0.8437 GB, free: 0.4961 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1)