Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="IDEAS_dev_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.001159/0.001159, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001091/0.001091, allocations: 192.1 kB / 16.25 MB, free: 6.633 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.259/1.259, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9007/0.9007, allocations: 135.1 MB / 425.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 64.66 kB / 0.505 GB, free: 5.57 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1309, allocations: 80.93 MB / 0.584 GB, free: 4.809 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.3298/0.4607, allocations: 131 MB / 0.7119 GB, free: 14.92 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03118/0.4919, allocations: 23.03 MB / 0.7344 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004792/0.4968, allocations: 119.7 kB / 0.7345 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003981/0.5008, allocations: 1.284 MB / 0.7358 GB, free: 13.52 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01248/0.5133, allocations: 3.81 MB / 0.7395 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005848/0.5192, allocations: 1.981 MB / 0.7414 GB, free: 9.113 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.008334/0.5275, allocations: 6.581 MB / 0.7479 GB, free: 5.246 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003821/0.5313, allocations: 2.343 MB / 0.7501 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006816/0.5382, allocations: 2.775 MB / 0.7529 GB, free: 424 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003463/0.5417, allocations: 1.941 MB / 0.7548 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0008913/0.5426, allocations: 248 kB / 0.755 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00523/0.5478, allocations: 1.961 MB / 0.7569 GB, free: 12.26 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0009192/0.5487, allocations: 0.6031 MB / 0.7575 GB, free: 11.65 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.003974/0.5527, allocations: 1.462 MB / 0.7589 GB, free: 10.18 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.007736/0.5605, allocations: 4.355 MB / 0.7632 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 5.46e-06/0.5605, allocations: 0 / 0.7632 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5605, allocations: 0 / 0.7632 GB, free: 5.816 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 0.0001229/0.5606, allocations: 0 / 0.7632 GB, free: 5.816 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.007266/0.5679, allocations: 3.194 MB / 0.7663 GB, free: 2.539 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 4.448e-05/0.568, allocations: 8.031 kB / 0.7663 GB, free: 2.531 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004343/0.5684, allocations: 220.3 kB / 0.7665 GB, free: 2.305 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004938/0.5734, allocations: 0.8434 MB / 0.7673 GB, free: 1.457 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004951/0.5783, allocations: 2.26 MB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.001095/0.5794, allocations: 298.8 kB / 0.7698 GB, free: 14.83 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003456/0.5798, allocations: 160 kB / 0.77 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004728/0.5845, allocations: 1.934 MB / 0.7719 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.529e-05/0.5846, allocations: 3.938 kB / 0.7719 GB, free: 12.67 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000177/0.5848, allocations: 64 kB / 0.7719 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.503e-05/0.5848, allocations: 43.94 kB / 0.772 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005502/0.5903, allocations: 1.823 MB / 0.7738 GB, free: 10.74 MB / 0.5919 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.01339/0.6037, allocations: 9.042 MB / 0.7826 GB, free: 1.102 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00441/0.6081, allocations: 1.194 MB / 0.7838 GB, free: 15.9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001126/0.6093, allocations: 465.4 kB / 0.7842 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.6105, allocations: 1.719 MB / 0.7859 GB, free: 13.33 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.312e-05/0.6105, allocations: 50.31 kB / 0.7859 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.554e-06/0.6105, allocations: 0 / 0.7859 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008646/0.6192, allocations: 2.331 MB / 0.7882 GB, free: 10.89 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.44e-05/0.6193, allocations: 85.11 kB / 0.7883 GB, free: 10.79 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004034/0.6233, allocations: 2.52 MB / 0.7907 GB, free: 8.25 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001063/0.6234, allocations: 45.7 kB / 0.7908 GB, free: 8.199 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008828/0.6243, allocations: 1.049 MB / 0.7918 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002521/0.6246, allocations: 276.1 kB / 0.7921 GB, free: 6.867 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004362/0.625, allocations: 250.6 kB / 0.7923 GB, free: 6.617 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001303/0.6251, allocations: 353.9 kB / 0.7926 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001779/0.6269, allocations: 0.5881 MB / 0.7932 GB, free: 5.676 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002159/0.6291, allocations: 0.9738 MB / 0.7942 GB, free: 4.555 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003084/0.6322, allocations: 1.253 MB / 0.7954 GB, free: 3.195 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.965e-06/0.6322, allocations: 4 kB / 0.7954 GB, free: 3.191 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00658/0.6388, allocations: 2.047 MB / 0.7974 GB, free: 1.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.111e-05/0.6388, allocations: 8.625 kB / 0.7974 GB, free: 1.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.479e-05/0.6389, allocations: 8 kB / 0.7974 GB, free: 1.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001812/0.6407, allocations: 0.4893 MB / 0.7979 GB, free: 0.6133 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001256/0.642, allocations: 287.6 kB / 0.7982 GB, free: 340 kB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002215/0.6442, allocations: 1.514 MB / 0.7996 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002942/0.6471, allocations: 441.9 kB / 0.8001 GB, free: 14.33 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001668/0.6473, allocations: 55.97 kB / 0.8001 GB, free: 14.28 MB / 0.6231 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.0007949/0.6481, allocations: 466.9 kB / 0.8006 GB, free: 13.81 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005562/0.6487, allocations: 248.8 kB / 0.8008 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003879/0.6526, allocations: 1.493 MB / 0.8023 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.399e-05/0.6526, allocations: 19.92 kB / 0.8023 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.785e-06/0.6526, allocations: 0 / 0.8023 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.135e-05/0.6526, allocations: 3.984 kB / 0.8023 GB, free: 12.05 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008026/0.6607, allocations: 3.606 MB / 0.8058 GB, free: 8.328 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/0.6607, allocations: 7.984 kB / 0.8058 GB, free: 8.32 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006138/0.6613, allocations: 128.2 kB / 0.8059 GB, free: 8.195 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001671/0.663, allocations: 485.1 kB / 0.8064 GB, free: 7.715 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.178e-05/0.6631, allocations: 27.98 kB / 0.8064 GB, free: 7.688 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002595/0.6657, allocations: 1.597 MB / 0.808 GB, free: 6.039 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.719e-06/0.6657, allocations: 4 kB / 0.808 GB, free: 6.035 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005956/0.6717, allocations: 1.935 MB / 0.8099 GB, free: 4.035 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009811/0.6727, allocations: 493.5 kB / 0.8104 GB, free: 3.531 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004823/0.6732, allocations: 24 kB / 0.8104 GB, free: 3.508 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002028/0.6752, allocations: 171.7 kB / 0.8105 GB, free: 3.34 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001003/0.6753, allocations: 63.8 kB / 0.8106 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.511e-05/0.6754, allocations: 44.05 kB / 0.8106 GB, free: 3.234 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003255/0.6787, allocations: 1.781 MB / 0.8124 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of sort global known variables: time 3.81e-07/0.6787, allocations: 0 / 0.8124 GB, free: 1.449 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.002096/0.6808, allocations: 0.6711 MB / 0.813 GB, free: 0.7773 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.007562/0.6884, allocations: 2.985 MB / 0.8159 GB, free: 13.74 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004474/0.6928, allocations: 1.401 MB / 0.8173 GB, free: 12.34 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 6.482e-06/0.6929, allocations: 4.188 kB / 0.8173 GB, free: 12.33 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002475/0.6953, allocations: 0.6781 MB / 0.818 GB, free: 11.65 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006192/0.7016, allocations: 1.333 MB / 0.8193 GB, free: 10.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04556/0.7471, allocations: 19.79 MB / 0.8386 GB, free: 5.07 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001276/0.7484, allocations: 1.486 MB / 0.8401 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.002205/0.7507, allocations: 432.5 kB / 0.8405 GB, free: 3.129 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00119/0.7519, allocations: 0.9053 MB / 0.8414 GB, free: 2.223 MB / 0.6544 GB Notification: Performance of SimCode: time 1.323e-06/0.7519, allocations: 4 kB / 0.8414 GB, free: 2.219 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3325/1.084, allocations: 67.64 MB / 0.9074 GB, free: 206.6 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000146/1.085, allocations: 279.2 kB / 0.9077 GB, free: 206.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.622/4.707, allocations: 0 / 0.9077 GB, free: 206.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1)