Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.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.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP",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.001029/0.001029, allocations: 107.9 kB / 16.4 MB, free: 6.492 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.00109/0.00109, allocations: 193.2 kB / 17.34 MB, free: 5.766 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.302/1.302, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6968/0.6968, allocations: 115.3 MB / 406.5 MB, free: 6.184 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001194/0.001194, allocations: 63.64 kB / 0.5572 GB, free: 32.6 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1605/0.1617, allocations: 76.19 MB / 0.6316 GB, free: 4.91 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.463/0.6247, allocations: 132.2 MB / 0.7607 GB, free: 29.04 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.03067/0.6554, allocations: 23.2 MB / 0.7833 GB, free: 28.61 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004958/0.6604, allocations: 126.1 kB / 0.7834 GB, free: 28.61 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.004007/0.6645, allocations: 1.499 MB / 0.7849 GB, free: 28.57 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.01219/0.6767, allocations: 4.094 MB / 0.7889 GB, free: 28.29 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.00651/0.6833, allocations: 2.16 MB / 0.791 GB, free: 27.95 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.009549/0.6928, allocations: 6.531 MB / 0.7974 GB, free: 24.91 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003121/0.696, allocations: 2.357 MB / 0.7997 GB, free: 23.79 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006545/0.7026, allocations: 2.806 MB / 0.8024 GB, free: 22.45 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004407/0.707, allocations: 1.88 MB / 0.8043 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0007/0.7077, allocations: 246 kB / 0.8045 GB, free: 21.44 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006512/0.7142, allocations: 1.935 MB / 0.8064 GB, free: 20.53 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000853/0.7151, allocations: 0.6028 MB / 0.807 GB, free: 20.04 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003257/0.7184, allocations: 1.446 MB / 0.8084 GB, free: 19.08 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.009865/0.7283, allocations: 4.357 MB / 0.8127 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.243e-06/0.7283, allocations: 0 / 0.8127 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.124e-06/0.7284, allocations: 0 / 0.8127 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001436/0.7285, allocations: 4 kB / 0.8127 GB, free: 16.36 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.009902/0.7384, allocations: 3.16 MB / 0.8157 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.091e-05/0.7385, allocations: 8.938 kB / 0.8157 GB, free: 14.05 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000457/0.739, allocations: 226.5 kB / 0.816 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004571/0.7435, allocations: 0.8401 MB / 0.8168 GB, free: 13.48 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005616/0.7492, allocations: 2.316 MB / 0.819 GB, free: 11.77 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001559/0.7494, allocations: 129.8 kB / 0.8192 GB, free: 11.71 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004143/0.7498, allocations: 162.3 kB / 0.8193 GB, free: 11.66 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/0.7539, allocations: 1.93 MB / 0.8212 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.034e-05/0.7539, allocations: 0 / 0.8212 GB, free: 9.777 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001609/0.7541, allocations: 71.94 kB / 0.8213 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.156e-05/0.7541, allocations: 39.94 kB / 0.8213 GB, free: 9.668 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004165/0.7583, allocations: 1.788 MB / 0.8231 GB, free: 7.879 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.0124/0.7707, allocations: 8.959 MB / 0.8318 GB, free: 14.41 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0042/0.775, allocations: 1.18 MB / 0.833 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001114/0.7761, allocations: 470.6 kB / 0.8334 GB, free: 12.75 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001226/0.7773, allocations: 1.723 MB / 0.8351 GB, free: 10.64 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.675e-05/0.7774, allocations: 42.56 kB / 0.8351 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.066e-06/0.7774, allocations: 4 kB / 0.8351 GB, free: 10.59 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008501/0.7859, allocations: 2.317 MB / 0.8374 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.786, allocations: 96.73 kB / 0.8375 GB, free: 8.105 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004325/0.7903, allocations: 2.5 MB / 0.8399 GB, free: 5.586 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001412/0.7905, allocations: 45.7 kB / 0.84 GB, free: 5.535 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008622/0.7914, allocations: 1.035 MB / 0.841 GB, free: 4.496 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002711/0.7916, allocations: 272.1 kB / 0.8413 GB, free: 4.234 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004567/0.7921, allocations: 262.6 kB / 0.8415 GB, free: 3.973 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.7922, allocations: 341.9 kB / 0.8418 GB, free: 3.633 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001607/0.7938, allocations: 0.5764 MB / 0.8424 GB, free: 3.055 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001904/0.7958, allocations: 0.9499 MB / 0.8433 GB, free: 1.957 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002844/0.7986, allocations: 1.248 MB / 0.8445 GB, free: 0.6016 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.628e-06/0.7986, allocations: 7.938 kB / 0.8445 GB, free: 0.5938 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006276/0.8049, allocations: 2.009 MB / 0.8465 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/0.805, allocations: 18.75 kB / 0.8465 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.325e-05/0.805, allocations: 12 kB / 0.8465 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001525/0.8065, allocations: 413.2 kB / 0.8469 GB, free: 14.13 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.8077, allocations: 283.5 kB / 0.8472 GB, free: 13.85 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002012/0.8098, allocations: 1.503 MB / 0.8487 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00268/0.8125, allocations: 362 kB / 0.849 GB, free: 11.94 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.8126, allocations: 59.97 kB / 0.8491 GB, free: 11.88 MB / 0.6075 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0008125/0.8134, allocations: 467.6 kB / 0.8495 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005585/0.814, allocations: 244.9 kB / 0.8498 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003481/0.8175, allocations: 1.494 MB / 0.8512 GB, free: 9.664 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.815e-05/0.8175, allocations: 12 kB / 0.8512 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.482e-06/0.8175, allocations: 0 / 0.8512 GB, free: 9.652 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.014e-05/0.8175, allocations: 7.984 kB / 0.8512 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00726/0.8248, allocations: 3.594 MB / 0.8547 GB, free: 5.957 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.564e-05/0.8248, allocations: 7.938 kB / 0.8547 GB, free: 5.949 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006159/0.8255, allocations: 132 kB / 0.8549 GB, free: 5.82 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001349/0.8268, allocations: 415.9 kB / 0.8553 GB, free: 5.41 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.324e-05/0.8269, allocations: 23.98 kB / 0.8553 GB, free: 5.387 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002469/0.8294, allocations: 1.581 MB / 0.8568 GB, free: 3.754 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.922e-06/0.8294, allocations: 7.938 kB / 0.8568 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005753/0.8352, allocations: 1.927 MB / 0.8587 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009921/0.8362, allocations: 493.5 kB / 0.8592 GB, free: 1.273 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004919/0.8367, allocations: 19.94 kB / 0.8592 GB, free: 1.254 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001749/0.8384, allocations: 139.8 kB / 0.8593 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.546e-05/0.8385, allocations: 55.86 kB / 0.8594 GB, free: 1.062 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.519e-05/0.8386, allocations: 47.91 kB / 0.8594 GB, free: 1.016 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002894/0.8415, allocations: 1.748 MB / 0.8612 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3e-07/0.8415, allocations: 0 / 0.8612 GB, free: 15.27 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001953/0.8435, allocations: 0.6828 MB / 0.8618 GB, free: 14.58 MB / 0.6231 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.007018/0.8505, allocations: 2.997 MB / 0.8647 GB, free: 11.59 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.8545, allocations: 1.35 MB / 0.8661 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 7.394e-06/0.8545, allocations: 4 kB / 0.8661 GB, free: 10.24 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002303/0.8568, allocations: 0.6656 MB / 0.8667 GB, free: 9.578 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005879/0.8627, allocations: 1.332 MB / 0.868 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03411/0.8969, allocations: 16.66 MB / 0.8843 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00125/0.8982, allocations: 1.49 MB / 0.8857 GB, free: 5.672 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002112/0.9003, allocations: 432.5 kB / 0.8862 GB, free: 5.246 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001421/0.9017, allocations: 0.8937 MB / 0.887 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of SimCode: time 1.192e-06/0.9017, allocations: 0 / 0.887 GB, free: 4.352 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1056/1.007, allocations: 67.15 MB / 0.9526 GB, free: 1.902 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 16.13/17.13, allocations: 13.69 kB / 0.9526 GB, free: 1.898 MB / 0.7012 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)