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.001073/0.001073, allocations: 103.4 kB / 16.27 MB, free: 5.977 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.001066/0.001065, allocations: 188.5 kB / 17.19 MB, free: 5.605 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.26/1.26, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7149/0.7149, allocations: 122.9 MB / 413.9 MB, free: 15.88 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 67.91 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2895/0.2907, allocations: 77.93 MB / 0.5673 GB, free: 32.72 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1097/0.4005, allocations: 132.2 MB / 0.6964 GB, free: 6.207 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02908/0.4296, allocations: 23.22 MB / 0.7191 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003759/0.4334, allocations: 127.2 kB / 0.7192 GB, free: 14.79 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003758/0.4372, allocations: 1.486 MB / 0.7206 GB, free: 13.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0103/0.4475, allocations: 4.103 MB / 0.7246 GB, free: 9.172 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005088/0.4526, allocations: 2.157 MB / 0.7268 GB, free: 7.043 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007957/0.4606, allocations: 6.526 MB / 0.7331 GB, free: 0.4961 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00347/0.4641, allocations: 2.365 MB / 0.7354 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005496/0.4696, allocations: 2.736 MB / 0.7381 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003071/0.4727, allocations: 1.882 MB / 0.7399 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.000808/0.4735, allocations: 248 kB / 0.7402 GB, free: 9.203 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004762/0.4783, allocations: 1.942 MB / 0.7421 GB, free: 7.258 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009214/0.4792, allocations: 0.5992 MB / 0.7427 GB, free: 6.656 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.002008/0.4812, allocations: 1.454 MB / 0.7441 GB, free: 5.195 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005424/0.4866, allocations: 4.32 MB / 0.7483 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.4867, allocations: 0 / 0.7483 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.382e-06/0.4867, allocations: 0 / 0.7483 GB, free: 0.8633 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 3.953e-05/0.4867, allocations: 0 / 0.7483 GB, free: 0.8633 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: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.2506/0.7373, allocations: 3.175 MB / 0.7514 GB, free: 50.76 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.299e-05/0.7374, allocations: 10.91 kB / 0.7514 GB, free: 50.76 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002291/0.7376, allocations: 222 kB / 0.7516 GB, free: 50.71 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004408/0.7421, allocations: 0.839 MB / 0.7524 GB, free: 50.57 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003636/0.7457, allocations: 2.212 MB / 0.7546 GB, free: 50.01 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009855/0.7467, allocations: 292.5 kB / 0.7549 GB, free: 50 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002324/0.7469, allocations: 163.2 kB / 0.755 GB, free: 50 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003982/0.7509, allocations: 1.942 MB / 0.7569 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.918e-05/0.751, allocations: 5.188 kB / 0.7569 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001448/0.7511, allocations: 63.28 kB / 0.757 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.524e-05/0.7512, allocations: 38.06 kB / 0.757 GB, free: 49.79 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004658/0.7558, allocations: 1.825 MB / 0.7588 GB, free: 49.74 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.01028/0.7661, allocations: 9.071 MB / 0.7677 GB, free: 45.4 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004021/0.7702, allocations: 1.201 MB / 0.7689 GB, free: 45.32 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009939/0.7712, allocations: 458.1 kB / 0.7693 GB, free: 45.3 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006816/0.7719, allocations: 1.722 MB / 0.771 GB, free: 43.33 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.97e-05/0.7719, allocations: 45.44 kB / 0.771 GB, free: 43.29 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.565e-06/0.7719, allocations: 0 / 0.771 GB, free: 43.29 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.007995/0.7799, allocations: 2.337 MB / 0.7733 GB, free: 42.85 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.693e-05/0.7799, allocations: 84.92 kB / 0.7734 GB, free: 42.76 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003529/0.7835, allocations: 2.535 MB / 0.7759 GB, free: 42.52 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.631e-05/0.7836, allocations: 50.75 kB / 0.7759 GB, free: 42.48 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.00064/0.7842, allocations: 1.047 MB / 0.7769 GB, free: 42.21 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001853/0.7844, allocations: 270.8 kB / 0.7772 GB, free: 42.04 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003566/0.7848, allocations: 255.3 kB / 0.7774 GB, free: 42.02 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 5.457e-05/0.7848, allocations: 343.2 kB / 0.7778 GB, free: 41.71 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001622/0.7865, allocations: 0.5903 MB / 0.7783 GB, free: 41.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/0.7883, allocations: 0.966 MB / 0.7793 GB, free: 41.28 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002638/0.7909, allocations: 1.263 MB / 0.7805 GB, free: 40.95 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.019e-06/0.791, allocations: 3.75 kB / 0.7805 GB, free: 40.95 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006063/0.797, allocations: 2.053 MB / 0.7825 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.7971, allocations: 12.44 kB / 0.7825 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.365e-05/0.7971, allocations: 5.938 kB / 0.7825 GB, free: 40.71 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001642/0.7987, allocations: 0.494 MB / 0.783 GB, free: 40.66 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001143/0.7999, allocations: 286.2 kB / 0.7833 GB, free: 40.65 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001761/0.8017, allocations: 1.518 MB / 0.7848 GB, free: 39.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002734/0.8044, allocations: 393.6 kB / 0.7851 GB, free: 39.48 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.8045, allocations: 64.06 kB / 0.7852 GB, free: 39.48 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 (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.0007075/0.8052, allocations: 461.8 kB / 0.7856 GB, free: 39.36 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003692/0.8056, allocations: 246.3 kB / 0.7859 GB, free: 39.24 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003185/0.8088, allocations: 1.492 MB / 0.7873 GB, free: 39.11 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.614e-05/0.8088, allocations: 14.14 kB / 0.7874 GB, free: 39.11 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.982e-06/0.8089, allocations: 6.562 kB / 0.7874 GB, free: 39.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.03e-05/0.8089, allocations: 3.188 kB / 0.7874 GB, free: 39.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006396/0.8153, allocations: 3.615 MB / 0.7909 GB, free: 38.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.975e-06/0.8153, allocations: 6.781 kB / 0.7909 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005597/0.8159, allocations: 127.9 kB / 0.791 GB, free: 38.49 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001417/0.8173, allocations: 0.4938 MB / 0.7915 GB, free: 38.44 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.444e-05/0.8173, allocations: 26.7 kB / 0.7915 GB, free: 38.43 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002187/0.8195, allocations: 1.581 MB / 0.7931 GB, free: 37.38 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.8196, allocations: 5.25 kB / 0.7931 GB, free: 37.38 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005399/0.825, allocations: 1.944 MB / 0.795 GB, free: 36.87 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007414/0.8257, allocations: 492.3 kB / 0.7954 GB, free: 36.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003064/0.826, allocations: 21.02 kB / 0.7955 GB, free: 36.63 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/0.8277, allocations: 141.2 kB / 0.7956 GB, free: 36.62 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.946e-05/0.8278, allocations: 63.28 kB / 0.7957 GB, free: 36.61 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.357e-05/0.8278, allocations: 47.8 kB / 0.7957 GB, free: 36.61 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.002392/0.8302, allocations: 1.783 MB / 0.7975 GB, free: 36.46 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8302, allocations: 0 / 0.7975 GB, free: 36.46 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001574/0.8318, allocations: 0.6884 MB / 0.7981 GB, free: 36.42 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 (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.006187/0.838, allocations: 3.006 MB / 0.8011 GB, free: 35.32 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003782/0.8418, allocations: 1.41 MB / 0.8024 GB, free: 35.27 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.138e-06/0.8418, allocations: 0 / 0.8024 GB, free: 35.27 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.002128/0.844, allocations: 0.6763 MB / 0.8031 GB, free: 35.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005327/0.8493, allocations: 1.346 MB / 0.8044 GB, free: 34.81 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02813/0.8774, allocations: 19.23 MB / 0.8232 GB, free: 20.84 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006739/0.8781, allocations: 1.489 MB / 0.8246 GB, free: 19.34 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001949/0.8801, allocations: 434.8 kB / 0.8251 GB, free: 18.91 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009406/0.8811, allocations: 0.8973 MB / 0.8259 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of SimCode: time 7.11e-07/0.8811, allocations: 0 / 0.8259 GB, free: 18.69 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0992/0.9803, allocations: 68.5 MB / 0.8928 GB, free: 15.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.27/14.25, allocations: 14.23 kB / 0.8928 GB, free: 15.29 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/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)