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.00584/0.00584, allocations: 96.7 kB / 15.73 MB, free: 6.047 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.3 kB / 16.67 MB, free: 5.973 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9171/0.9171, allocations: 135.1 MB / 425.7 MB, free: 12.01 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001323/0.001323, allocations: 71.88 kB / 0.5851 GB, free: 3.848 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3518/0.3532, allocations: 80.91 MB / 0.6642 GB, free: 7.312 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1211/0.4744, allocations: 132.2 MB / 0.7932 GB, free: 13.03 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.03094/0.5053, allocations: 23.2 MB / 0.8159 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003555/0.5089, allocations: 127.2 kB / 0.816 GB, free: 5.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.003822/0.5128, allocations: 1.53 MB / 0.8175 GB, free: 4.109 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.01054/0.5234, allocations: 4.31 MB / 0.8217 GB, free: 15.78 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.005094/0.5285, allocations: 2.171 MB / 0.8238 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.007735/0.5362, allocations: 6.558 MB / 0.8302 GB, free: 7.059 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003345/0.5396, allocations: 2.367 MB / 0.8325 GB, free: 4.629 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005555/0.5452, allocations: 2.803 MB / 0.8353 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003107/0.5483, allocations: 1.89 MB / 0.8371 GB, free: 15.92 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.000604/0.5489, allocations: 248 kB / 0.8374 GB, free: 15.68 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004643/0.5535, allocations: 1.942 MB / 0.8393 GB, free: 13.73 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0008485/0.5544, allocations: 0.5953 MB / 0.8398 GB, free: 13.14 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.002308/0.5567, allocations: 1.454 MB / 0.8413 GB, free: 11.68 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.006987/0.5637, allocations: 4.402 MB / 0.8456 GB, free: 7.262 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.5637, allocations: 0 / 0.8456 GB, free: 7.262 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.413e-06/0.5638, allocations: 4 kB / 0.8456 GB, free: 7.258 MB / 0.67 GB Notification: Performance of Transformations before backend: time 8.381e-05/0.5638, allocations: 0 / 0.8456 GB, free: 7.258 MB / 0.67 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.007111/0.571, allocations: 3.272 MB / 0.8488 GB, free: 3.898 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.571, allocations: 8.031 kB / 0.8488 GB, free: 3.891 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002949/0.5713, allocations: 227.7 kB / 0.849 GB, free: 3.656 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004418/0.5757, allocations: 0.8567 MB / 0.8498 GB, free: 2.797 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004547/0.5803, allocations: 2.352 MB / 0.8521 GB, free: 380 kB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001126/0.5804, allocations: 131 kB / 0.8522 GB, free: 248 kB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002129/0.5807, allocations: 156 kB / 0.8524 GB, free: 92 kB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003901/0.5846, allocations: 1.926 MB / 0.8543 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.948e-05/0.5846, allocations: 0 / 0.8543 GB, free: 14.09 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001468/0.5848, allocations: 68 kB / 0.8543 GB, free: 14.03 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.901e-05/0.5848, allocations: 36 kB / 0.8544 GB, free: 13.99 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004616/0.5894, allocations: 1.788 MB / 0.8561 GB, free: 12.2 MB / 0.6856 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.01171/0.6011, allocations: 8.998 MB / 0.8649 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004202/0.6054, allocations: 1.203 MB / 0.8661 GB, free: 1.398 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001113/0.6065, allocations: 461.4 kB / 0.8665 GB, free: 0.9414 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.2633/0.8698, allocations: 1.726 MB / 0.8682 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.001e-05/0.8699, allocations: 39.06 kB / 0.8682 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=76): time 2.866e-06/0.8699, allocations: 0 / 0.8682 GB, free: 186.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=76): time 0.009005/0.8789, allocations: 2.341 MB / 0.8705 GB, free: 185.9 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.743e-05/0.879, allocations: 88.88 kB / 0.8706 GB, free: 185.8 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0039/0.8829, allocations: 2.495 MB / 0.8731 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 0.0001015/0.883, allocations: 45.05 kB / 0.8731 GB, free: 184.9 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006921/0.8837, allocations: 1.055 MB / 0.8741 GB, free: 184.2 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001958/0.8839, allocations: 281.1 kB / 0.8744 GB, free: 184.1 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003994/0.8843, allocations: 263.9 kB / 0.8746 GB, free: 183.9 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 6.086e-05/0.8844, allocations: 350.3 kB / 0.875 GB, free: 183.6 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001701/0.8861, allocations: 0.5703 MB / 0.8755 GB, free: 183.5 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001929/0.888, allocations: 0.9526 MB / 0.8765 GB, free: 182.9 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002998/0.891, allocations: 1.238 MB / 0.8777 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.845e-06/0.891, allocations: 2.25 kB / 0.8777 GB, free: 182.2 MB / 0.6856 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006434/0.8975, allocations: 2.034 MB / 0.8797 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.8975, allocations: 7.938 kB / 0.8797 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.323e-05/0.8975, allocations: 7.719 kB / 0.8797 GB, free: 181.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001448/0.899, allocations: 424.6 kB / 0.8801 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/0.9002, allocations: 285.9 kB / 0.8804 GB, free: 181.5 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001805/0.902, allocations: 1.498 MB / 0.8818 GB, free: 180.3 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002428/0.9044, allocations: 372.9 kB / 0.8822 GB, free: 180.2 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000122/0.9046, allocations: 62.44 kB / 0.8822 GB, free: 180.2 MB / 0.6856 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.0006908/0.9052, allocations: 465 kB / 0.8827 GB, free: 179.9 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003588/0.9056, allocations: 257.3 kB / 0.8829 GB, free: 179.8 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003345/0.909, allocations: 1.491 MB / 0.8844 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.65e-05/0.909, allocations: 9.219 kB / 0.8844 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.172e-06/0.909, allocations: 1.375 kB / 0.8844 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.039e-05/0.909, allocations: 7.922 kB / 0.8844 GB, free: 179.1 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006492/0.9155, allocations: 3.612 MB / 0.8879 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/0.9155, allocations: 2.812 kB / 0.8879 GB, free: 176.7 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006029/0.9162, allocations: 126.7 kB / 0.8881 GB, free: 176.6 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001339/0.9175, allocations: 422.5 kB / 0.8885 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.845e-05/0.9176, allocations: 26.45 kB / 0.8885 GB, free: 176.4 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002255/0.9198, allocations: 1.578 MB / 0.89 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.608e-06/0.9199, allocations: 9.734 kB / 0.89 GB, free: 175.1 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005766/0.9256, allocations: 1.945 MB / 0.8919 GB, free: 173.9 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008731/0.9265, allocations: 499.4 kB / 0.8924 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003184/0.9268, allocations: 19.81 kB / 0.8924 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00163/0.9285, allocations: 135.8 kB / 0.8926 GB, free: 173.5 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.9286, allocations: 61.62 kB / 0.8926 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.342e-05/0.9287, allocations: 46.02 kB / 0.8927 GB, free: 173.4 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002608/0.9313, allocations: 1.749 MB / 0.8944 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of sort global known variables: time 3.11e-07/0.9313, allocations: 0 / 0.8944 GB, free: 172.5 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001696/0.933, allocations: 0.6934 MB / 0.895 GB, free: 172.3 MB / 0.6856 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.006634/0.9396, allocations: 3.018 MB / 0.898 GB, free: 170.4 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003837/0.9435, allocations: 1.344 MB / 0.8993 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.9435, allocations: 1.375 kB / 0.8993 GB, free: 169.8 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002224/0.9457, allocations: 0.6632 MB / 0.8999 GB, free: 169.5 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005362/0.9511, allocations: 1.323 MB / 0.9012 GB, free: 168.9 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02717/0.9783, allocations: 16.62 MB / 0.9175 GB, free: 157.2 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006371/0.979, allocations: 1.482 MB / 0.9189 GB, free: 155.7 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.001586/0.9806, allocations: 444.9 kB / 0.9193 GB, free: 155.3 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008789/0.9814, allocations: 0.8976 MB / 0.9202 GB, free: 154.4 MB / 0.6856 GB Notification: Performance of SimCode: time 8.22e-07/0.9814, allocations: 0 / 0.9202 GB, free: 154.4 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08428/1.066, allocations: 65.89 MB / 0.9846 GB, free: 89.23 MB / 0.6856 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.27/16.34, allocations: 11.8 kB / 0.9846 GB, free: 89.22 MB / 0.6856 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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)