Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.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/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.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IBPSA_latest_IBPSA_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.0009115/0.0009115, allocations: 97.36 kB / 15.69 MB, free: 480 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.0008935/0.0008933, allocations: 174.4 kB / 16.57 MB, free: 6.398 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.271/1.271, allocations: 223.2 MB / 240.5 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6397/0.6397, allocations: 113.7 MB / 405.3 MB, free: 4.684 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003077/0.0003077, allocations: 12.59 kB / 493 MB, free: 8.594 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1567, allocations: 77.11 MB / 0.5567 GB, free: 11.69 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4018/0.5585, allocations: 110.6 MB / 0.6647 GB, free: 11.39 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.02575/0.5843, allocations: 19.94 MB / 0.6842 GB, free: 7.422 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003914/0.5883, allocations: 103.2 kB / 0.6843 GB, free: 7.32 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.003975/0.5923, allocations: 1.368 MB / 0.6856 GB, free: 5.945 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.01133/0.6036, allocations: 4.204 MB / 0.6898 GB, free: 1.734 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006671/0.6103, allocations: 2.568 MB / 0.6923 GB, free: 15.24 MB / 0.5137 GB Notification: Performance of NFFlatten.flatten: time 0.006314/0.6166, allocations: 3.929 MB / 0.6961 GB, free: 11.31 MB / 0.5137 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002054/0.6187, allocations: 1.719 MB / 0.6978 GB, free: 9.555 MB / 0.5137 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00336/0.622, allocations: 2.02 MB / 0.6997 GB, free: 7.527 MB / 0.5137 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001305/0.6234, allocations: 1.256 MB / 0.701 GB, free: 6.266 MB / 0.5137 GB Notification: Performance of NFPackage.collectConstants: time 0.0001725/0.6235, allocations: 88 kB / 0.7011 GB, free: 6.18 MB / 0.5137 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003021/0.6266, allocations: 1.33 MB / 0.7024 GB, free: 4.848 MB / 0.5137 GB Notification: Performance of NFScalarize.scalarize: time 0.0003273/0.6269, allocations: 410.2 kB / 0.7028 GB, free: 4.445 MB / 0.5137 GB Notification: Performance of NFVerifyModel.verify: time 0.0004365/0.6274, allocations: 0.5549 MB / 0.7033 GB, free: 3.883 MB / 0.5137 GB Notification: Performance of NFConvertDAE.convert: time 0.002619/0.63, allocations: 3.12 MB / 0.7063 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.63, allocations: 0 / 0.7063 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of FrontEnd: time 1.623e-06/0.63, allocations: 0 / 0.7063 GB, free: 0.7578 MB / 0.5137 GB Notification: Performance of Transformations before backend: time 1.91e-05/0.63, allocations: 0 / 0.7063 GB, free: 0.7578 MB / 0.5137 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.004057/0.6341, allocations: 2.705 MB / 0.709 GB, free: 13.97 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 6.539e-05/0.6342, allocations: 8.031 kB / 0.709 GB, free: 13.96 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002231/0.6344, allocations: 219.8 kB / 0.7092 GB, free: 13.73 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003885/0.6383, allocations: 0.9606 MB / 0.7101 GB, free: 12.77 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003057/0.6413, allocations: 2.063 MB / 0.7122 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008939/0.6423, allocations: 322.8 kB / 0.7125 GB, free: 10.32 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001923/0.6425, allocations: 160 kB / 0.7126 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00352/0.646, allocations: 1.969 MB / 0.7145 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.347e-05/0.646, allocations: 4 kB / 0.7145 GB, free: 8.121 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001472/0.6462, allocations: 60 kB / 0.7146 GB, free: 8.062 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.813e-05/0.6462, allocations: 40 kB / 0.7146 GB, free: 8.023 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004251/0.6505, allocations: 1.905 MB / 0.7165 GB, free: 6.117 MB / 0.5294 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.01118/0.6617, allocations: 9.184 MB / 0.7255 GB, free: 12.32 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004095/0.6658, allocations: 1.333 MB / 0.7268 GB, free: 10.98 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001007/0.6668, allocations: 1.711 MB / 0.7284 GB, free: 8.879 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.981e-05/0.6668, allocations: 42.56 kB / 0.7285 GB, free: 8.828 MB / 0.545 GB Notification: Performance of pre-optimization done (n=76): time 4.568e-06/0.6668, allocations: 0 / 0.7285 GB, free: 8.828 MB / 0.545 GB Notification: Performance of matching and sorting (n=76): time 0.007837/0.6747, allocations: 2.501 MB / 0.7309 GB, free: 6.277 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.567e-05/0.6747, allocations: 89.06 kB / 0.731 GB, free: 6.172 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003341/0.6781, allocations: 2.571 MB / 0.7335 GB, free: 3.582 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 0.0001012/0.6782, allocations: 41.7 kB / 0.7336 GB, free: 3.535 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007708/0.679, allocations: 1.05 MB / 0.7346 GB, free: 2.477 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002294/0.6792, allocations: 280.1 kB / 0.7348 GB, free: 2.199 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.986e-05/0.6793, allocations: 20 kB / 0.7349 GB, free: 2.18 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001176/0.6794, allocations: 349.9 kB / 0.7352 GB, free: 1.832 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.681, allocations: 0.6232 MB / 0.7358 GB, free: 1.207 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001869/0.6829, allocations: 1.009 MB / 0.7368 GB, free: 48 kB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0017/0.6846, allocations: 0.682 MB / 0.7375 GB, free: 15.37 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.503e-06/0.6846, allocations: 4 kB / 0.7375 GB, free: 15.36 MB / 0.5606 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.004481/0.6891, allocations: 1.956 MB / 0.7394 GB, free: 13.39 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.144e-05/0.6892, allocations: 8 kB / 0.7394 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.387e-05/0.6892, allocations: 8 kB / 0.7394 GB, free: 13.38 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001637/0.6908, allocations: 0.5076 MB / 0.7399 GB, free: 12.86 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001121/0.692, allocations: 307.6 kB / 0.7402 GB, free: 12.56 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001954/0.6939, allocations: 1.557 MB / 0.7417 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/0.6966, allocations: 493.5 kB / 0.7422 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001115/0.6967, allocations: 59.97 kB / 0.7422 GB, free: 10.41 MB / 0.5606 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 14,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0007606/0.6975, allocations: 457.5 kB / 0.7427 GB, free: 9.957 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002788/0.6977, allocations: 245 kB / 0.7429 GB, free: 9.715 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00321/0.701, allocations: 1.561 MB / 0.7444 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.595e-05/0.701, allocations: 12 kB / 0.7444 GB, free: 8.121 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.141e-06/0.701, allocations: 4 kB / 0.7444 GB, free: 8.117 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.041e-05/0.701, allocations: 3.984 kB / 0.7444 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006602/0.7076, allocations: 3.735 MB / 0.7481 GB, free: 4.27 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.137e-06/0.7076, allocations: 4 kB / 0.7481 GB, free: 4.266 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005607/0.7082, allocations: 135.8 kB / 0.7482 GB, free: 4.133 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001458/0.7097, allocations: 0.5012 MB / 0.7487 GB, free: 3.625 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.399e-05/0.7097, allocations: 27.97 kB / 0.7487 GB, free: 3.598 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.7121, allocations: 1.657 MB / 0.7504 GB, free: 1.891 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.878e-06/0.7121, allocations: 4 kB / 0.7504 GB, free: 1.887 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005386/0.7175, allocations: 2.331 MB / 0.7526 GB, free: 15.38 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009393/0.7184, allocations: 0.5326 MB / 0.7532 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002665/0.7187, allocations: 20 kB / 0.7532 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001618/0.7203, allocations: 187.8 kB / 0.7534 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.732e-05/0.7204, allocations: 63.88 kB / 0.7534 GB, free: 14.56 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.442e-05/0.7205, allocations: 43.91 kB / 0.7535 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002681/0.7232, allocations: 1.816 MB / 0.7552 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.21e-07/0.7232, allocations: 0 / 0.7552 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001769/0.725, allocations: 0.6944 MB / 0.7559 GB, free: 12 MB / 0.5762 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 (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 16,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.00676/0.7318, allocations: 4.183 MB / 0.76 GB, free: 7.707 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003816/0.7356, allocations: 1.424 MB / 0.7614 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.07e-06/0.7356, allocations: 0 / 0.7614 GB, free: 6.281 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002133/0.7377, allocations: 0.7288 MB / 0.7621 GB, free: 5.555 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005881/0.7436, allocations: 1.27 MB / 0.7633 GB, free: 4.309 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009083/0.7527, allocations: 10.87 MB / 0.774 GB, free: 9 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.7537, allocations: 1.536 MB / 0.7755 GB, free: 7.434 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.001852/0.7555, allocations: 436.4 kB / 0.7759 GB, free: 7.004 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009879/0.7565, allocations: 0.8976 MB / 0.7767 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of SimCode: time 2.665e-06/0.7565, allocations: 0 / 0.7767 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.489/6.245, allocations: 68.1 MB / 0.8433 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001852/6.246, allocations: 251.6 kB / 0.8435 GB, free: 220 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/9.451, allocations: 0 / 0.8435 GB, free: 220 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) Environment - environmentSimulation: