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.001518/0.001523, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001417/0.001417, allocations: 194.8 kB / 16.25 MB, free: 6.621 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.323/1.323, allocations: 222.9 MB / 239.9 MB, free: 4.523 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8655/0.8655, allocations: 135.1 MB / 425.2 MB, free: 12 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 64.22 kB / 0.505 GB, free: 5.582 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1394/0.1407, allocations: 80.92 MB / 0.584 GB, free: 4.828 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3614/0.5021, allocations: 131 MB / 0.7119 GB, free: 14.97 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03077/0.5329, allocations: 23.04 MB / 0.7344 GB, free: 14.39 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003872/0.5368, allocations: 115 kB / 0.7345 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003649/0.5404, allocations: 1.278 MB / 0.7357 GB, free: 13.57 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/0.5506, allocations: 3.802 MB / 0.7395 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.005276/0.5559, allocations: 1.986 MB / 0.7414 GB, free: 9.156 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007848/0.5637, allocations: 6.575 MB / 0.7478 GB, free: 5.297 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003196/0.5669, allocations: 2.349 MB / 0.7501 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006806/0.5738, allocations: 2.773 MB / 0.7528 GB, free: 440 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003279/0.5771, allocations: 1.933 MB / 0.7547 GB, free: 14.48 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0004911/0.5776, allocations: 248 kB / 0.7549 GB, free: 14.24 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004067/0.5816, allocations: 1.961 MB / 0.7569 GB, free: 12.28 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0006262/0.5823, allocations: 0.607 MB / 0.7574 GB, free: 11.67 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001902/0.5842, allocations: 1.462 MB / 0.7589 GB, free: 10.2 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.005622/0.5898, allocations: 4.351 MB / 0.7631 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.5898, allocations: 0 / 0.7631 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.5898, allocations: 0 / 0.7631 GB, free: 5.84 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.942e-05/0.5899, allocations: 0 / 0.7631 GB, free: 5.84 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.005655/0.5956, allocations: 3.184 MB / 0.7662 GB, free: 2.57 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.338e-05/0.5956, allocations: 12.03 kB / 0.7662 GB, free: 2.559 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002641/0.5959, allocations: 219.8 kB / 0.7665 GB, free: 2.332 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.6001, allocations: 0.8395 MB / 0.7673 GB, free: 1.488 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003919/0.604, allocations: 2.291 MB / 0.7695 GB, free: 15.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008768/0.6049, allocations: 290.8 kB / 0.7698 GB, free: 14.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002403/0.6052, allocations: 160 kB / 0.7699 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003855/0.609, allocations: 1.938 MB / 0.7718 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.831e-05/0.6091, allocations: 0 / 0.7718 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001443/0.6092, allocations: 67.94 kB / 0.7719 GB, free: 12.61 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.64e-05/0.6093, allocations: 39.98 kB / 0.7719 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007707/0.617, allocations: 1.819 MB / 0.7737 GB, free: 10.75 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.01235/0.6293, allocations: 8.996 MB / 0.7825 GB, free: 1.156 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004162/0.6335, allocations: 1.196 MB / 0.7837 GB, free: 15.95 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00105/0.6346, allocations: 465.8 kB / 0.7841 GB, free: 15.49 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001123/0.6357, allocations: 1.722 MB / 0.7858 GB, free: 13.38 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.586e-05/0.6358, allocations: 50.25 kB / 0.7858 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.284e-06/0.6358, allocations: 0 / 0.7858 GB, free: 13.32 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008371/0.6442, allocations: 2.316 MB / 0.7881 GB, free: 10.95 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.427e-05/0.6442, allocations: 97.03 kB / 0.7882 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0038/0.648, allocations: 2.489 MB / 0.7906 GB, free: 8.332 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/0.6481, allocations: 45.7 kB / 0.7907 GB, free: 8.281 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008527/0.649, allocations: 1.045 MB / 0.7917 GB, free: 7.227 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002474/0.6493, allocations: 268.2 kB / 0.7919 GB, free: 6.961 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004282/0.6497, allocations: 258.6 kB / 0.7922 GB, free: 6.703 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001268/0.6498, allocations: 345.9 kB / 0.7925 GB, free: 6.359 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00173/0.6516, allocations: 0.592 MB / 0.7931 GB, free: 5.766 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002053/0.6536, allocations: 0.9621 MB / 0.794 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002908/0.6565, allocations: 1.261 MB / 0.7953 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.6566, allocations: 4 kB / 0.7953 GB, free: 3.285 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00632/0.6629, allocations: 2.052 MB / 0.7973 GB, free: 1.215 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.088e-05/0.6629, allocations: 12.12 kB / 0.7973 GB, free: 1.203 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.458e-05/0.6629, allocations: 8 kB / 0.7973 GB, free: 1.195 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00159/0.6645, allocations: 417.2 kB / 0.7977 GB, free: 0.7812 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001235/0.6658, allocations: 291.5 kB / 0.798 GB, free: 0.4961 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002141/0.6679, allocations: 1.499 MB / 0.7994 GB, free: 14.95 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002996/0.6709, allocations: 440.2 kB / 0.7999 GB, free: 14.52 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000212/0.6712, allocations: 55.97 kB / 0.7999 GB, free: 14.46 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 (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.001161/0.6723, allocations: 466.9 kB / 0.8004 GB, free: 14 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008318/0.6732, allocations: 244.9 kB / 0.8006 GB, free: 13.75 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003807/0.677, allocations: 1.497 MB / 0.8021 GB, free: 12.25 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.093e-05/0.677, allocations: 15.98 kB / 0.8021 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.184e-06/0.677, allocations: 0 / 0.8021 GB, free: 12.23 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.241e-05/0.6771, allocations: 7.984 kB / 0.8021 GB, free: 12.22 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0077/0.6848, allocations: 3.6 MB / 0.8056 GB, free: 8.512 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.08e-05/0.6848, allocations: 4 kB / 0.8056 GB, free: 8.508 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006339/0.6854, allocations: 124.1 kB / 0.8057 GB, free: 8.387 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/0.687, allocations: 431.4 kB / 0.8061 GB, free: 7.961 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.988e-05/0.687, allocations: 23.98 kB / 0.8061 GB, free: 7.938 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002544/0.6896, allocations: 1.571 MB / 0.8077 GB, free: 6.316 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.6896, allocations: 7.938 kB / 0.8077 GB, free: 6.309 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005859/0.6955, allocations: 1.924 MB / 0.8096 GB, free: 4.32 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009802/0.6965, allocations: 485.6 kB / 0.81 GB, free: 3.824 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004479/0.6969, allocations: 23.91 kB / 0.8101 GB, free: 3.801 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001879/0.6988, allocations: 167.8 kB / 0.8102 GB, free: 3.637 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.943e-05/0.6989, allocations: 67.8 kB / 0.8103 GB, free: 3.57 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.875e-05/0.699, allocations: 35.97 kB / 0.8103 GB, free: 3.535 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003006/0.702, allocations: 1.75 MB / 0.812 GB, free: 1.781 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.702, allocations: 4 kB / 0.812 GB, free: 1.777 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001897/0.7039, allocations: 0.6788 MB / 0.8127 GB, free: 1.098 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.007012/0.711, allocations: 2.975 MB / 0.8156 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004061/0.715, allocations: 1.408 MB / 0.817 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.437e-06/0.7151, allocations: 0 / 0.817 GB, free: 12.66 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002222/0.7173, allocations: 0.6722 MB / 0.8176 GB, free: 11.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007743/0.725, allocations: 1.328 MB / 0.8189 GB, free: 10.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.04731/0.7724, allocations: 19.63 MB / 0.8381 GB, free: 5.586 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009841/0.7734, allocations: 1.494 MB / 0.8396 GB, free: 4.059 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001911/0.7753, allocations: 432.6 kB / 0.84 GB, free: 3.633 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001113/0.7764, allocations: 0.9014 MB / 0.8408 GB, free: 2.73 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.7765, allocations: 4 kB / 0.8408 GB, free: 2.727 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6349/1.411, allocations: 67.32 MB / 0.9066 GB, free: 206.8 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002088/1.412, allocations: 270.1 kB / 0.9068 GB, free: 206.4 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.845/5.257, allocations: 1.75 kB / 0.9069 GB, free: 206.4 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/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)