Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_IDEAS.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/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.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_dev_IDEAS_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.001162/0.001162, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001321/0.001321, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.66/1.66, allocations: 223.2 MB / 239.9 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9394/0.9394, allocations: 135.2 MB / 426.2 MB, free: 14.23 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003219/0.000322, allocations: 11.98 kB / 0.5069 GB, free: 5.156 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1399, allocations: 82.31 MB / 0.5873 GB, free: 3.027 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3398/0.4798, allocations: 110.6 MB / 0.6953 GB, free: 14.59 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02821/0.5081, allocations: 19.91 MB / 0.7147 GB, free: 392 kB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004597/0.5127, allocations: 103.2 kB / 0.7148 GB, free: 344 kB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.004493/0.5172, allocations: 1.367 MB / 0.7161 GB, free: 15.56 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.01598/0.5332, allocations: 4.192 MB / 0.7202 GB, free: 12.82 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.008187/0.5414, allocations: 2.57 MB / 0.7227 GB, free: 11.61 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.009725/0.5512, allocations: 3.917 MB / 0.7266 GB, free: 9.23 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003008/0.5542, allocations: 1.715 MB / 0.7282 GB, free: 8.176 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004617/0.5588, allocations: 2.021 MB / 0.7302 GB, free: 6.887 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002863/0.5617, allocations: 1.258 MB / 0.7314 GB, free: 6.148 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0005831/0.5623, allocations: 93.91 kB / 0.7315 GB, free: 6.145 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005181/0.5675, allocations: 1.329 MB / 0.7328 GB, free: 5.598 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0008/0.5683, allocations: 406.1 kB / 0.7332 GB, free: 5.293 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.001371/0.5697, allocations: 0.5549 MB / 0.7338 GB, free: 4.977 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.005057/0.5748, allocations: 3.102 MB / 0.7368 GB, free: 2.855 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.5748, allocations: 1.281 kB / 0.7368 GB, free: 2.855 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.964e-06/0.5748, allocations: 0 / 0.7368 GB, free: 2.855 MB / 0.545 GB Notification: Performance of Transformations before backend: time 0.0001361/0.5749, allocations: 0 / 0.7368 GB, free: 2.855 MB / 0.545 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.006008/0.5809, allocations: 2.711 MB / 0.7394 GB, free: 420 kB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 4.385e-05/0.581, allocations: 9.094 kB / 0.7395 GB, free: 412 kB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004552/0.5815, allocations: 223.8 kB / 0.7397 GB, free: 176 kB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004434/0.5859, allocations: 0.9567 MB / 0.7406 GB, free: 15.21 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003947/0.5899, allocations: 2.098 MB / 0.7426 GB, free: 13.04 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009319/0.5908, allocations: 314.9 kB / 0.7429 GB, free: 12.73 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002616/0.5911, allocations: 168 kB / 0.7431 GB, free: 12.57 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004509/0.5956, allocations: 1.965 MB / 0.745 GB, free: 10.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.845e-05/0.5957, allocations: 4 kB / 0.745 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001476/0.5958, allocations: 60 kB / 0.7451 GB, free: 10.47 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.606e-05/0.5959, allocations: 39.95 kB / 0.7451 GB, free: 10.43 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005008/0.6009, allocations: 1.882 MB / 0.747 GB, free: 8.551 MB / 0.5606 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.01791/0.6188, allocations: 9.168 MB / 0.7559 GB, free: 14.78 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004628/0.6235, allocations: 1.324 MB / 0.7572 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001436/0.6249, allocations: 1.722 MB / 0.7589 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.793e-05/0.625, allocations: 46.44 kB / 0.7589 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=76): time 2.935e-06/0.625, allocations: 0 / 0.7589 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of matching and sorting (n=76): time 0.009233/0.6342, allocations: 2.473 MB / 0.7614 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.712e-05/0.6343, allocations: 93.06 kB / 0.7614 GB, free: 8.648 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004282/0.6386, allocations: 2.547 MB / 0.7639 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001434/0.6388, allocations: 45.7 kB / 0.764 GB, free: 6.031 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.001216/0.64, allocations: 1.045 MB / 0.765 GB, free: 4.977 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003444/0.6404, allocations: 264.2 kB / 0.7652 GB, free: 4.715 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.431e-05/0.6404, allocations: 20 kB / 0.7653 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001653/0.6406, allocations: 353.9 kB / 0.7656 GB, free: 4.344 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001707/0.6423, allocations: 0.6232 MB / 0.7662 GB, free: 3.723 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002256/0.6446, allocations: 1.001 MB / 0.7672 GB, free: 2.566 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001858/0.6464, allocations: 0.678 MB / 0.7678 GB, free: 1.895 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.6465, allocations: 4 kB / 0.7679 GB, free: 1.891 MB / 0.5762 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005317/0.6518, allocations: 1.967 MB / 0.7698 GB, free: 15.91 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 3.112e-05/0.6518, allocations: 15.94 kB / 0.7698 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.435e-05/0.6519, allocations: 8 kB / 0.7698 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001576/0.6534, allocations: 433.8 kB / 0.7702 GB, free: 15.46 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001198/0.6546, allocations: 307.5 kB / 0.7705 GB, free: 15.16 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002172/0.6568, allocations: 1.542 MB / 0.772 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003101/0.6599, allocations: 485.9 kB / 0.7725 GB, free: 13.09 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001522/0.6601, allocations: 63.97 kB / 0.7725 GB, free: 13.02 MB / 0.5919 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 (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 13,1 8} Notification: Performance of prepare postOptimizeDAE: time 0.0008786/0.661, allocations: 457.5 kB / 0.773 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004346/0.6614, allocations: 245 kB / 0.7732 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003715/0.6652, allocations: 1.55 MB / 0.7747 GB, free: 10.76 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.627e-05/0.6652, allocations: 8 kB / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.312e-06/0.6652, allocations: 0 / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.316e-05/0.6652, allocations: 3.984 kB / 0.7747 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007887/0.6731, allocations: 3.725 MB / 0.7784 GB, free: 6.91 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.208e-05/0.6731, allocations: 4 kB / 0.7784 GB, free: 6.906 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006179/0.6738, allocations: 144 kB / 0.7785 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001484/0.6753, allocations: 437.2 kB / 0.7789 GB, free: 6.332 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.472e-05/0.6753, allocations: 31.94 kB / 0.779 GB, free: 6.301 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002619/0.678, allocations: 1.635 MB / 0.7806 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.334e-06/0.678, allocations: 7.938 kB / 0.7806 GB, free: 4.609 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00613/0.6841, allocations: 2.325 MB / 0.7828 GB, free: 2.105 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0014/0.6855, allocations: 0.5327 MB / 0.7834 GB, free: 1.551 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006326/0.6862, allocations: 23.94 kB / 0.7834 GB, free: 1.527 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002091/0.6883, allocations: 191.7 kB / 0.7836 GB, free: 1.34 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.99e-05/0.6884, allocations: 63.81 kB / 0.7836 GB, free: 1.277 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.32e-05/0.6885, allocations: 39.97 kB / 0.7837 GB, free: 1.238 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.002996/0.6915, allocations: 1.793 MB / 0.7854 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.81e-07/0.6915, allocations: 0 / 0.7854 GB, free: 15.44 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0022/0.6937, allocations: 0.6905 MB / 0.7861 GB, free: 14.75 MB / 0.6075 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 (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 15,1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007344/0.7011, allocations: 4.174 MB / 0.7902 GB, free: 10.46 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004027/0.7051, allocations: 1.436 MB / 0.7916 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 5.851e-06/0.7051, allocations: 4.188 kB / 0.7916 GB, free: 9.023 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.002237/0.7074, allocations: 0.7151 MB / 0.7923 GB, free: 8.309 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005692/0.7131, allocations: 1.25 MB / 0.7935 GB, free: 7.074 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01037/0.7235, allocations: 10.83 MB / 0.8041 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001043/0.7246, allocations: 1.537 MB / 0.8056 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.002107/0.7267, allocations: 439.6 kB / 0.806 GB, free: 9.824 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001162/0.7278, allocations: 0.8937 MB / 0.8069 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of SimCode: time 8.21e-07/0.7279, allocations: 0 / 0.8069 GB, free: 8.93 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.768/2.496, allocations: 67.83 MB / 0.8731 GB, free: 212.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000132/2.496, allocations: 244.4 kB / 0.8733 GB, free: 212.2 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.229/6.725, allocations: 0 / 0.8733 GB, free: 212.2 MB / 0.67 GB (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) Environment - environmentSimulation: