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.0009656/0.0009657, 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.001186/0.001186, allocations: 196.6 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.236/1.236, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.878/0.878, allocations: 135.1 MB / 425.5 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001231/0.001231, allocations: 60.22 kB / 0.5054 GB, free: 5.266 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1285/0.1297, allocations: 80.93 MB / 0.5845 GB, free: 4.492 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3266/0.4563, allocations: 132.2 MB / 0.7135 GB, free: 14.09 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02944/0.4858, allocations: 23.19 MB / 0.7362 GB, free: 13.2 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004233/0.49, allocations: 124.2 kB / 0.7363 GB, free: 13.15 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.003303/0.4934, allocations: 1.5 MB / 0.7378 GB, free: 11.86 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.009902/0.5033, allocations: 4.079 MB / 0.7417 GB, free: 8.574 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004813/0.5081, allocations: 2.139 MB / 0.7438 GB, free: 6.918 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007292/0.5154, allocations: 6.531 MB / 0.7502 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002796/0.5183, allocations: 2.356 MB / 0.7525 GB, free: 0.875 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005195/0.5235, allocations: 2.759 MB / 0.7552 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002313/0.5258, allocations: 1.882 MB / 0.757 GB, free: 12.23 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0003488/0.5261, allocations: 248 kB / 0.7573 GB, free: 11.99 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003923/0.5301, allocations: 1.938 MB / 0.7592 GB, free: 10.05 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005001/0.5306, allocations: 0.5954 MB / 0.7598 GB, free: 9.449 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001489/0.5321, allocations: 1.462 MB / 0.7612 GB, free: 7.98 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.00514/0.5372, allocations: 4.335 MB / 0.7654 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.5373, allocations: 0 / 0.7654 GB, free: 3.633 MB / 0.5762 GB Notification: Performance of FrontEnd: time 3.396e-06/0.5373, allocations: 4 kB / 0.7654 GB, free: 3.629 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.659e-05/0.5373, allocations: 3.938 kB / 0.7654 GB, free: 3.625 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.004702/0.542, allocations: 3.176 MB / 0.7685 GB, free: 372 kB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.506e-05/0.542, allocations: 8.031 kB / 0.7685 GB, free: 364 kB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002229/0.5423, allocations: 219.8 kB / 0.7687 GB, free: 132 kB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004203/0.5465, allocations: 0.8434 MB / 0.7696 GB, free: 15.28 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003579/0.5501, allocations: 2.217 MB / 0.7717 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009477/0.551, allocations: 294.8 kB / 0.772 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002/0.5512, allocations: 160 kB / 0.7722 GB, free: 12.54 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003642/0.5549, allocations: 1.942 MB / 0.7741 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.497e-05/0.5549, allocations: 0 / 0.7741 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001366/0.5551, allocations: 67.94 kB / 0.7741 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.688e-05/0.5551, allocations: 40 kB / 0.7742 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004436/0.5595, allocations: 1.815 MB / 0.7759 GB, free: 8.613 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.0106/0.5702, allocations: 9.058 MB / 0.7848 GB, free: 14.95 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004083/0.5743, allocations: 1.185 MB / 0.7859 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001062/0.5753, allocations: 465.4 kB / 0.7864 GB, free: 13.3 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001034/0.5764, allocations: 1.726 MB / 0.7881 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.969e-05/0.5764, allocations: 50.19 kB / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=76): time 2.054e-06/0.5764, allocations: 0 / 0.7881 GB, free: 11.12 MB / 0.6075 GB Notification: Performance of matching and sorting (n=76): time 0.008336/0.5848, allocations: 2.312 MB / 0.7904 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.42e-05/0.5848, allocations: 89.11 kB / 0.7905 GB, free: 8.656 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003732/0.5886, allocations: 2.52 MB / 0.7929 GB, free: 6.117 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.84e-05/0.5887, allocations: 41.7 kB / 0.793 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008089/0.5895, allocations: 1.041 MB / 0.794 GB, free: 5.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002214/0.5897, allocations: 280.1 kB / 0.7942 GB, free: 4.742 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003792/0.5901, allocations: 250.6 kB / 0.7945 GB, free: 4.492 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001049/0.5902, allocations: 349.9 kB / 0.7948 GB, free: 4.145 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001728/0.5919, allocations: 0.5842 MB / 0.7954 GB, free: 3.559 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002005/0.594, allocations: 0.9699 MB / 0.7963 GB, free: 2.441 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002941/0.5969, allocations: 1.261 MB / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.97e-06/0.5969, allocations: 0 / 0.7976 GB, free: 1.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006296/0.6032, allocations: 2.047 MB / 0.7996 GB, free: 15.01 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.138e-05/0.6033, allocations: 11.94 kB / 0.7996 GB, free: 15 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/0.6033, allocations: 8.625 kB / 0.7996 GB, free: 14.99 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001482/0.6048, allocations: 429.2 kB / 0.8 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001186/0.606, allocations: 287.6 kB / 0.8003 GB, free: 14.28 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002041/0.608, allocations: 1.504 MB / 0.8017 GB, free: 12.73 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002661/0.6107, allocations: 397.2 kB / 0.8021 GB, free: 12.34 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001257/0.6108, allocations: 55.97 kB / 0.8022 GB, free: 12.29 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.0007624/0.6116, allocations: 461.8 kB / 0.8026 GB, free: 11.82 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004432/0.6121, allocations: 248.9 kB / 0.8028 GB, free: 11.58 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003573/0.6156, allocations: 1.491 MB / 0.8043 GB, free: 10.07 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.68e-05/0.6157, allocations: 11.98 kB / 0.8043 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.6157, allocations: 0 / 0.8043 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.758e-06/0.6157, allocations: 3.984 kB / 0.8043 GB, free: 10.06 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007006/0.6227, allocations: 3.611 MB / 0.8078 GB, free: 6.336 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.256e-06/0.6227, allocations: 4 kB / 0.8079 GB, free: 6.332 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005881/0.6233, allocations: 132.1 kB / 0.808 GB, free: 6.203 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001315/0.6246, allocations: 413.2 kB / 0.8084 GB, free: 5.793 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.779e-05/0.6247, allocations: 23.98 kB / 0.8084 GB, free: 5.77 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002466/0.6272, allocations: 1.575 MB / 0.8099 GB, free: 4.145 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.6272, allocations: 4 kB / 0.8099 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005881/0.6331, allocations: 1.935 MB / 0.8118 GB, free: 2.141 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007771/0.6339, allocations: 485.6 kB / 0.8123 GB, free: 1.645 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003489/0.6342, allocations: 19.98 kB / 0.8123 GB, free: 1.625 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001726/0.636, allocations: 147.8 kB / 0.8124 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.825e-05/0.6361, allocations: 59.8 kB / 0.8125 GB, free: 1.422 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.472e-05/0.6362, allocations: 48.06 kB / 0.8126 GB, free: 1.375 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.003201/0.6394, allocations: 1.773 MB / 0.8143 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.8e-07/0.6394, allocations: 0 / 0.8143 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001921/0.6413, allocations: 0.6944 MB / 0.815 GB, free: 14.9 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.006923/0.6482, allocations: 2.988 MB / 0.8179 GB, free: 11.85 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.004148/0.6524, allocations: 1.401 MB / 0.8192 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.648e-06/0.6524, allocations: 4.188 kB / 0.8193 GB, free: 10.45 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.002291/0.6547, allocations: 0.6681 MB / 0.8199 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005553/0.6603, allocations: 1.334 MB / 0.8212 GB, free: 8.488 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03336/0.6937, allocations: 19.07 MB / 0.8398 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001005/0.6947, allocations: 1.482 MB / 0.8413 GB, free: 2.414 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001852/0.6966, allocations: 444.5 kB / 0.8417 GB, free: 1.977 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001089/0.6977, allocations: 0.8976 MB / 0.8426 GB, free: 1.078 MB / 0.6544 GB Notification: Performance of SimCode: time 5.91e-07/0.6977, allocations: 4 kB / 0.8426 GB, free: 1.074 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.927/4.624, allocations: 68.16 MB / 0.9091 GB, free: 205.9 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 20.03/24.66, allocations: 1.25 kB / 0.9091 GB, free: 205.9 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)