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.001014/0.001014, allocations: 111.3 kB / 15.23 MB, free: 0.6562 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.001054/0.001054, allocations: 190.5 kB / 16.13 MB, free: 6.672 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.141/1.141, allocations: 222.9 MB / 239.8 MB, free: 4.559 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.652/0.652, allocations: 132.2 MB / 422.1 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001273/0.001273, allocations: 63.42 kB / 0.5012 GB, free: 9.125 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1281, allocations: 80.19 MB / 0.5795 GB, free: 9.148 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.2881/0.4162, allocations: 131.3 MB / 0.7077 GB, free: 3.688 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.02752/0.4437, allocations: 23.28 MB / 0.7305 GB, free: 2.992 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003534/0.4473, allocations: 116.1 kB / 0.7306 GB, free: 2.945 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002739/0.45, allocations: 1.203 MB / 0.7317 GB, free: 2.227 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.008396/0.4585, allocations: 3.772 MB / 0.7354 GB, free: 15.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004158/0.4627, allocations: 1.967 MB / 0.7373 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.007106/0.4698, allocations: 8.273 MB / 0.7454 GB, free: 9.492 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002162/0.4719, allocations: 1.974 MB / 0.7474 GB, free: 7.461 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003537/0.4755, allocations: 2.36 MB / 0.7497 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001839/0.4773, allocations: 1.878 MB / 0.7515 GB, free: 3.203 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002295/0.4776, allocations: 120 kB / 0.7516 GB, free: 3.086 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003309/0.4809, allocations: 1.738 MB / 0.7533 GB, free: 1.344 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003874/0.4813, allocations: 493.6 kB / 0.7538 GB, free: 0.8594 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001112/0.4824, allocations: 1.321 MB / 0.7551 GB, free: 15.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.003766/0.4862, allocations: 4.234 MB / 0.7592 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.559e-06/0.4862, allocations: 0 / 0.7592 GB, free: 11.29 MB / 0.5762 GB Notification: Performance of FrontEnd: time 6.92e-07/0.4862, allocations: 3.938 kB / 0.7592 GB, free: 11.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 2.038e-05/0.4862, allocations: 0 / 0.7592 GB, free: 11.28 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.004504/0.4907, allocations: 3.18 MB / 0.7623 GB, free: 8.016 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.586e-05/0.4908, allocations: 12.03 kB / 0.7623 GB, free: 8.004 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002186/0.491, allocations: 219.8 kB / 0.7625 GB, free: 7.777 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003903/0.4949, allocations: 0.8434 MB / 0.7634 GB, free: 6.93 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003519/0.4985, allocations: 2.282 MB / 0.7656 GB, free: 4.574 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008518/0.4993, allocations: 294.8 kB / 0.7659 GB, free: 4.285 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002026/0.4995, allocations: 160 kB / 0.766 GB, free: 4.129 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003494/0.503, allocations: 1.938 MB / 0.7679 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.3e-05/0.5031, allocations: 0 / 0.7679 GB, free: 2.125 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001361/0.5032, allocations: 67.94 kB / 0.768 GB, free: 2.059 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.478e-05/0.5032, allocations: 40 kB / 0.768 GB, free: 2.02 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004185/0.5074, allocations: 1.811 MB / 0.7698 GB, free: 212 kB / 0.5762 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.01013/0.5176, allocations: 9.015 MB / 0.7786 GB, free: 6.598 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003791/0.5214, allocations: 1.195 MB / 0.7798 GB, free: 5.391 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009702/0.5224, allocations: 465.4 kB / 0.7802 GB, free: 4.93 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009909/0.5234, allocations: 1.722 MB / 0.7819 GB, free: 2.82 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.5234, allocations: 46.44 kB / 0.7819 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.923e-06/0.5234, allocations: 0 / 0.7819 GB, free: 2.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007497/0.5309, allocations: 2.322 MB / 0.7842 GB, free: 400 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.575e-05/0.531, allocations: 89.11 kB / 0.7843 GB, free: 292 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003233/0.5342, allocations: 2.493 MB / 0.7867 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 7.589e-05/0.5343, allocations: 45.7 kB / 0.7868 GB, free: 13.72 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000732/0.535, allocations: 1.045 MB / 0.7878 GB, free: 12.67 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002038/0.5352, allocations: 268.2 kB / 0.788 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003785/0.5356, allocations: 258.6 kB / 0.7883 GB, free: 12.14 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.5357, allocations: 349.9 kB / 0.7886 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00161/0.5374, allocations: 0.588 MB / 0.7892 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001859/0.5392, allocations: 0.966 MB / 0.7901 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002689/0.5419, allocations: 1.265 MB / 0.7914 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.603e-06/0.5419, allocations: 4 kB / 0.7914 GB, free: 8.719 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005917/0.5479, allocations: 2.044 MB / 0.7934 GB, free: 6.656 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.802e-05/0.5479, allocations: 12.09 kB / 0.7934 GB, free: 6.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.613e-05/0.5479, allocations: 8 kB / 0.7934 GB, free: 6.637 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001417/0.5493, allocations: 425.2 kB / 0.7938 GB, free: 6.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/0.5505, allocations: 287.6 kB / 0.7941 GB, free: 5.934 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001881/0.5524, allocations: 1.503 MB / 0.7955 GB, free: 4.379 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002528/0.5549, allocations: 436 kB / 0.7959 GB, free: 3.953 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000113/0.555, allocations: 59.95 kB / 0.796 GB, free: 3.895 MB / 0.6075 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.0007051/0.5558, allocations: 461.4 kB / 0.7964 GB, free: 3.434 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003489/0.5561, allocations: 249 kB / 0.7967 GB, free: 3.188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003172/0.5593, allocations: 1.497 MB / 0.7981 GB, free: 1.68 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.411e-05/0.5593, allocations: 11.94 kB / 0.7982 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.399e-06/0.5593, allocations: 0 / 0.7982 GB, free: 1.668 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.795e-06/0.5593, allocations: 3.984 kB / 0.7982 GB, free: 1.664 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00638/0.5657, allocations: 3.594 MB / 0.8017 GB, free: 13.96 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.921e-06/0.5657, allocations: 4 kB / 0.8017 GB, free: 13.95 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005577/0.5663, allocations: 136.1 kB / 0.8018 GB, free: 13.82 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001264/0.5676, allocations: 419.6 kB / 0.8022 GB, free: 13.41 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.118e-05/0.5676, allocations: 35.95 kB / 0.8022 GB, free: 13.37 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002211/0.5699, allocations: 1.565 MB / 0.8038 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.447e-06/0.5699, allocations: 4 kB / 0.8038 GB, free: 11.75 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00511/0.575, allocations: 1.939 MB / 0.8057 GB, free: 9.746 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006158/0.5756, allocations: 477.6 kB / 0.8061 GB, free: 9.258 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002799/0.5759, allocations: 27.98 kB / 0.8061 GB, free: 9.23 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001619/0.5775, allocations: 179.7 kB / 0.8063 GB, free: 9.055 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.408e-05/0.5776, allocations: 51.88 kB / 0.8064 GB, free: 9.004 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.441e-05/0.5777, allocations: 47.95 kB / 0.8064 GB, free: 8.957 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002392/0.5801, allocations: 1.753 MB / 0.8081 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2.5e-07/0.5801, allocations: 0 / 0.8081 GB, free: 7.199 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.001485/0.5816, allocations: 0.675 MB / 0.8088 GB, free: 6.523 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.006257/0.5879, allocations: 2.966 MB / 0.8117 GB, free: 3.5 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003551/0.5914, allocations: 1.362 MB / 0.813 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5914, allocations: 0 / 0.813 GB, free: 2.137 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002198/0.5936, allocations: 0.6603 MB / 0.8136 GB, free: 1.477 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00487/0.5985, allocations: 1.258 MB / 0.8149 GB, free: 260 kB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03659/0.6351, allocations: 19.65 MB / 0.8341 GB, free: 11.11 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000897/0.6361, allocations: 1.482 MB / 0.8355 GB, free: 9.598 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001714/0.6378, allocations: 439.5 kB / 0.8359 GB, free: 9.172 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001007/0.6388, allocations: 0.8976 MB / 0.8368 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of SimCode: time 4.21e-07/0.6388, allocations: 0 / 0.8368 GB, free: 8.273 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.604/3.242, allocations: 65.48 MB / 0.9008 GB, free: 211.4 MB / 0.67 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002525/3.243, allocations: 265.1 kB / 0.901 GB, free: 211.1 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.502/6.744, allocations: 0 / 0.901 GB, free: 211.1 MB / 0.67 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)