Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_IDEAS_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.00162/0.00162, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002079/0.002079, allocations: 199.2 kB / 16.14 MB, free: 6.715 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.284/1.284, allocations: 222.9 MB / 239.8 MB, free: 4.629 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7555/0.7555, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00132/0.00132, allocations: 63.28 kB / 0.5012 GB, free: 9.098 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1448, allocations: 80.21 MB / 0.5795 GB, free: 9.113 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.4018/0.5466, allocations: 131.3 MB / 0.7077 GB, free: 3.605 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.03502/0.5817, allocations: 23.28 MB / 0.7305 GB, free: 2.898 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005697/0.5874, allocations: 110.6 kB / 0.7306 GB, free: 2.855 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.004514/0.592, allocations: 1.21 MB / 0.7318 GB, free: 2.133 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01263/0.6046, allocations: 3.771 MB / 0.7355 GB, free: 15.54 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.006501/0.6111, allocations: 1.954 MB / 0.7374 GB, free: 14.06 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.01108/0.6222, allocations: 8.289 MB / 0.7455 GB, free: 9.434 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003666/0.6259, allocations: 1.961 MB / 0.7474 GB, free: 7.43 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005728/0.6317, allocations: 2.376 MB / 0.7497 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003558/0.6353, allocations: 1.874 MB / 0.7515 GB, free: 3.16 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000766/0.6361, allocations: 124 kB / 0.7516 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005211/0.6413, allocations: 1.73 MB / 0.7533 GB, free: 1.305 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0009312/0.6422, allocations: 0.4899 MB / 0.7538 GB, free: 0.8125 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002917/0.6452, allocations: 1.329 MB / 0.7551 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00754/0.6527, allocations: 4.237 MB / 0.7592 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.328e-06/0.6527, allocations: 0 / 0.7592 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.132e-06/0.6528, allocations: 0 / 0.7592 GB, free: 11.23 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001294/0.6529, allocations: 0 / 0.7592 GB, free: 11.23 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.006988/0.6599, allocations: 3.188 MB / 0.7624 GB, free: 7.953 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.232e-05/0.6599, allocations: 8.031 kB / 0.7624 GB, free: 7.945 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004488/0.6604, allocations: 224.3 kB / 0.7626 GB, free: 7.715 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004517/0.6649, allocations: 0.8434 MB / 0.7634 GB, free: 6.867 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004749/0.6697, allocations: 2.26 MB / 0.7656 GB, free: 4.535 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009188/0.6706, allocations: 294.9 kB / 0.7659 GB, free: 4.246 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004005/0.671, allocations: 156 kB / 0.766 GB, free: 4.094 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004516/0.6756, allocations: 1.946 MB / 0.7679 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.05e-05/0.6756, allocations: 0 / 0.7679 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001677/0.6758, allocations: 67.94 kB / 0.768 GB, free: 2.016 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.942e-05/0.6758, allocations: 39.94 kB / 0.768 GB, free: 1.977 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005734/0.6816, allocations: 1.831 MB / 0.7698 GB, free: 148 kB / 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.01414/0.6957, allocations: 9.024 MB / 0.7786 GB, free: 6.527 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00409/0.6998, allocations: 1.202 MB / 0.7798 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/0.7009, allocations: 470.2 kB / 0.7803 GB, free: 4.848 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001064/0.7019, allocations: 1.722 MB / 0.782 GB, free: 2.738 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.933e-05/0.702, allocations: 42.56 kB / 0.782 GB, free: 2.688 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 2.975e-06/0.702, allocations: 4 kB / 0.782 GB, free: 2.684 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.00873/0.7107, allocations: 2.326 MB / 0.7843 GB, free: 312 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.051e-05/0.7109, allocations: 89.05 kB / 0.7844 GB, free: 204 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004692/0.7156, allocations: 2.528 MB / 0.7868 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001462/0.7157, allocations: 45.7 kB / 0.7869 GB, free: 13.6 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009277/0.7167, allocations: 1.038 MB / 0.7879 GB, free: 12.55 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003034/0.717, allocations: 276.1 kB / 0.7881 GB, free: 12.28 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005069/0.7175, allocations: 254.6 kB / 0.7884 GB, free: 12.03 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001208/0.7176, allocations: 349.9 kB / 0.7887 GB, free: 11.68 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001696/0.7193, allocations: 0.5842 MB / 0.7893 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002023/0.7214, allocations: 0.966 MB / 0.7902 GB, free: 9.977 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002914/0.7243, allocations: 1.273 MB / 0.7915 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.638e-06/0.7243, allocations: 0 / 0.7915 GB, free: 8.602 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00658/0.7309, allocations: 2.047 MB / 0.7935 GB, free: 6.535 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 4.002e-05/0.731, allocations: 15.92 kB / 0.7935 GB, free: 6.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.931e-05/0.731, allocations: 12 kB / 0.7935 GB, free: 6.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00206/0.7331, allocations: 493.7 kB / 0.794 GB, free: 6.02 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001303/0.7344, allocations: 291.5 kB / 0.7942 GB, free: 5.734 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002168/0.7366, allocations: 1.513 MB / 0.7957 GB, free: 4.172 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003202/0.7398, allocations: 437.1 kB / 0.7961 GB, free: 3.746 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002325/0.74, allocations: 59.97 kB / 0.7962 GB, free: 3.688 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 (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.001314/0.7414, allocations: 463.1 kB / 0.7966 GB, free: 3.227 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001059/0.7424, allocations: 256.8 kB / 0.7969 GB, free: 2.973 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004239/0.7467, allocations: 1.5 MB / 0.7984 GB, free: 1.473 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.126e-05/0.7467, allocations: 12 kB / 0.7984 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.095e-06/0.7467, allocations: 0 / 0.7984 GB, free: 1.461 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.119e-05/0.7467, allocations: 3.984 kB / 0.7984 GB, free: 1.457 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008295/0.755, allocations: 3.608 MB / 0.8019 GB, free: 13.74 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.299e-05/0.7551, allocations: 4 kB / 0.8019 GB, free: 13.73 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006028/0.7557, allocations: 124 kB / 0.802 GB, free: 13.61 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0017/0.7574, allocations: 497.1 kB / 0.8025 GB, free: 13.12 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.022e-05/0.7575, allocations: 27.98 kB / 0.8025 GB, free: 13.09 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002439/0.7599, allocations: 1.6 MB / 0.8041 GB, free: 11.45 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.214e-06/0.76, allocations: 7.938 kB / 0.8041 GB, free: 11.44 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005749/0.7657, allocations: 1.928 MB / 0.806 GB, free: 9.449 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001238/0.767, allocations: 493.5 kB / 0.8064 GB, free: 8.945 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006231/0.7676, allocations: 23.98 kB / 0.8065 GB, free: 8.922 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002041/0.7697, allocations: 171.7 kB / 0.8066 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001029/0.7698, allocations: 59.81 kB / 0.8067 GB, free: 8.695 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001111/0.7699, allocations: 43.95 kB / 0.8067 GB, free: 8.652 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003702/0.7736, allocations: 1.769 MB / 0.8085 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of sort global known variables: time 5.61e-07/0.7736, allocations: 0 / 0.8085 GB, free: 6.879 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.003489/0.7771, allocations: 0.6828 MB / 0.8091 GB, free: 6.195 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 (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.007814/0.785, allocations: 2.974 MB / 0.812 GB, free: 3.16 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.004148/0.7891, allocations: 1.347 MB / 0.8133 GB, free: 1.812 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 1.007e-05/0.7892, allocations: 4.188 kB / 0.8133 GB, free: 1.809 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002327/0.7915, allocations: 0.6662 MB / 0.814 GB, free: 1.145 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006928/0.7985, allocations: 1.265 MB / 0.8152 GB, free: 15.91 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.05015/0.8486, allocations: 19.82 MB / 0.8346 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001458/0.8502, allocations: 1.489 MB / 0.836 GB, free: 9.078 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002409/0.8526, allocations: 429.8 kB / 0.8364 GB, free: 8.664 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0014/0.854, allocations: 0.9053 MB / 0.8373 GB, free: 7.762 MB / 0.6544 GB Notification: Performance of SimCode: time 1.102e-06/0.854, allocations: 4 kB / 0.8373 GB, free: 7.758 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.725/4.579, allocations: 65.78 MB / 0.9016 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001703/4.579, allocations: 267.2 kB / 0.9018 GB, free: 212 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.133/7.712, allocations: 0 / 0.9018 GB, free: 212 MB / 0.67 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)