Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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/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.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_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.001144/0.001144, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001177/0.001177, allocations: 196.8 kB / 16.53 MB, free: 6.664 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.29/1.29, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7284/0.7284, allocations: 132.2 MB / 422.6 MB, free: 1.812 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001342/0.001342, allocations: 55.16 kB / 0.5019 GB, free: 3.785 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3469/0.3483, allocations: 80.21 MB / 0.5802 GB, free: 4.562 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1312/0.4795, allocations: 132.2 MB / 0.7093 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.03017/0.5097, allocations: 23.2 MB / 0.7319 GB, free: 5.703 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004733/0.5145, allocations: 123.2 kB / 0.732 GB, free: 5.582 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.004483/0.519, allocations: 1.494 MB / 0.7335 GB, free: 4.078 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0132/0.5322, allocations: 4.084 MB / 0.7375 GB, free: 15.98 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.005073/0.5373, allocations: 2.148 MB / 0.7396 GB, free: 13.86 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.00812/0.5455, allocations: 6.514 MB / 0.7459 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00325/0.5487, allocations: 2.363 MB / 0.7482 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005346/0.5541, allocations: 2.754 MB / 0.7509 GB, free: 2.145 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002724/0.5568, allocations: 1.882 MB / 0.7528 GB, free: 260 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0005708/0.5574, allocations: 248 kB / 0.753 GB, free: 12 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004209/0.5616, allocations: 1.93 MB / 0.7549 GB, free: 14.08 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0007445/0.5624, allocations: 0.5953 MB / 0.7555 GB, free: 13.48 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.002144/0.5645, allocations: 1.462 MB / 0.7569 GB, free: 12.01 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.006411/0.571, allocations: 4.335 MB / 0.7611 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.571, allocations: 0 / 0.7611 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.643e-06/0.571, allocations: 0 / 0.7611 GB, free: 7.664 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.662e-05/0.5711, allocations: 4 kB / 0.7611 GB, free: 7.66 MB / 0.5919 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.006616/0.5777, allocations: 3.18 MB / 0.7642 GB, free: 4.395 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.559e-05/0.5778, allocations: 12.03 kB / 0.7643 GB, free: 4.383 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003789/0.5782, allocations: 219.8 kB / 0.7645 GB, free: 4.156 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004553/0.5827, allocations: 0.8435 MB / 0.7653 GB, free: 3.309 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004561/0.5873, allocations: 2.221 MB / 0.7675 GB, free: 1.012 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009563/0.5883, allocations: 294.8 kB / 0.7677 GB, free: 0.7227 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003118/0.5886, allocations: 164 kB / 0.7679 GB, free: 0.5625 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004028/0.5926, allocations: 1.94 MB / 0.7698 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.715e-05/0.5927, allocations: 4 kB / 0.7698 GB, free: 14.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001591/0.5929, allocations: 64 kB / 0.7699 GB, free: 14.49 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.835e-05/0.5929, allocations: 40 kB / 0.7699 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006895/0.5998, allocations: 1.815 MB / 0.7717 GB, free: 12.63 MB / 0.6075 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.0174/0.6172, allocations: 9.047 MB / 0.7805 GB, free: 2.988 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.6214, allocations: 1.2 MB / 0.7817 GB, free: 1.773 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001071/0.6225, allocations: 465.6 kB / 0.7821 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001072/0.6236, allocations: 1.726 MB / 0.7838 GB, free: 15.2 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.285e-05/0.6237, allocations: 42.56 kB / 0.7838 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=76): time 2.815e-06/0.6237, allocations: 0 / 0.7838 GB, free: 15.15 MB / 0.6231 GB Notification: Performance of matching and sorting (n=76): time 0.008633/0.6323, allocations: 2.322 MB / 0.7861 GB, free: 12.77 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.6324, allocations: 97.05 kB / 0.7862 GB, free: 12.66 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004268/0.6367, allocations: 2.512 MB / 0.7887 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 0.0001844/0.6369, allocations: 41.7 kB / 0.7887 GB, free: 10.08 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008934/0.6378, allocations: 1.041 MB / 0.7897 GB, free: 9.027 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003221/0.6381, allocations: 276.2 kB / 0.79 GB, free: 8.754 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000453/0.6386, allocations: 254.6 kB / 0.7902 GB, free: 8.5 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.6387, allocations: 349.9 kB / 0.7906 GB, free: 8.152 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00177/0.6405, allocations: 0.5919 MB / 0.7911 GB, free: 7.559 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002078/0.6426, allocations: 0.9621 MB / 0.7921 GB, free: 6.445 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003073/0.6456, allocations: 1.269 MB / 0.7933 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.968e-06/0.6457, allocations: 4 kB / 0.7933 GB, free: 5.066 MB / 0.6231 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.00664/0.6523, allocations: 2.048 MB / 0.7953 GB, free: 3 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.6523, allocations: 12.12 kB / 0.7953 GB, free: 2.988 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.432e-05/0.6524, allocations: 8 kB / 0.7953 GB, free: 2.98 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001556/0.6539, allocations: 421.2 kB / 0.7957 GB, free: 2.562 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001228/0.6552, allocations: 295.5 kB / 0.796 GB, free: 2.273 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002068/0.6573, allocations: 1.495 MB / 0.7975 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002705/0.66, allocations: 390.1 kB / 0.7978 GB, free: 352 kB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001348/0.6601, allocations: 59.91 kB / 0.7979 GB, free: 292 kB / 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.0008173/0.6609, allocations: 461.6 kB / 0.7983 GB, free: 15.82 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005551/0.6615, allocations: 248.9 kB / 0.7986 GB, free: 15.57 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003549/0.6651, allocations: 1.493 MB / 0.8 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.667e-05/0.6651, allocations: 11.98 kB / 0.8001 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.943e-06/0.6651, allocations: 0 / 0.8001 GB, free: 14.06 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.103e-05/0.6651, allocations: 7.922 kB / 0.8001 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007226/0.6723, allocations: 3.596 MB / 0.8036 GB, free: 10.35 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.417e-06/0.6724, allocations: 3.984 kB / 0.8036 GB, free: 10.34 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005903/0.673, allocations: 136.1 kB / 0.8037 GB, free: 10.21 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001378/0.6744, allocations: 413.2 kB / 0.8041 GB, free: 9.801 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.084e-05/0.6744, allocations: 27.97 kB / 0.8041 GB, free: 9.773 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002472/0.6769, allocations: 1.571 MB / 0.8057 GB, free: 8.152 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.752e-06/0.6769, allocations: 7.938 kB / 0.8057 GB, free: 8.145 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.6827, allocations: 1.935 MB / 0.8076 GB, free: 6.148 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008777/0.6836, allocations: 489.6 kB / 0.808 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004143/0.684, allocations: 16 kB / 0.808 GB, free: 5.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001734/0.6857, allocations: 139.8 kB / 0.8082 GB, free: 5.496 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.333e-05/0.6858, allocations: 63.8 kB / 0.8082 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.622e-05/0.6859, allocations: 43.97 kB / 0.8083 GB, free: 5.391 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.003251/0.6892, allocations: 1.769 MB / 0.81 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.2e-07/0.6892, allocations: 0 / 0.81 GB, free: 3.617 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001859/0.6911, allocations: 0.6905 MB / 0.8107 GB, free: 2.926 MB / 0.6387 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.2245/0.9155, allocations: 2.999 MB / 0.8136 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0046/0.9202, allocations: 1.393 MB / 0.815 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.25e-06/0.9202, allocations: 4.375 kB / 0.815 GB, free: 215 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/0.9225, allocations: 0.659 MB / 0.8156 GB, free: 214.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005644/0.9281, allocations: 1.333 MB / 0.8169 GB, free: 214.6 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03143/0.9596, allocations: 19.07 MB / 0.8355 GB, free: 203.9 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008556/0.9604, allocations: 1.492 MB / 0.837 GB, free: 203.2 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.002367/0.9628, allocations: 432.3 kB / 0.8374 GB, free: 203.1 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009982/0.9638, allocations: 0.899 MB / 0.8383 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of SimCode: time 7.21e-07/0.9638, allocations: 0 / 0.8383 GB, free: 202.4 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7258/1.69, allocations: 68.17 MB / 0.9049 GB, free: 141.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.1/14.79, allocations: 7.922 kB / 0.9049 GB, free: 141.2 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)