Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_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.0008305/0.0008305, allocations: 98.11 kB / 15.36 MB, free: 0.7344 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.005294/0.005294, allocations: 169.4 kB / 16.26 MB, free: 6.66 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.176/1.176, allocations: 223.3 MB / 240.3 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001571/0.001571, allocations: 270.3 kB / 291.7 MB, free: 1.871 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8441/0.8441, allocations: 169.5 MB / 0.5004 GB, free: 14.08 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000362/0.0003621, allocations: 16.97 kB / 0.5988 GB, free: 28.06 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1424/0.1427, allocations: 88.55 MB / 0.6852 GB, free: 14.98 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3523/0.4951, allocations: 129.3 MB / 0.8115 GB, free: 23.84 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.02208/0.5172, allocations: 23.06 MB / 0.834 GB, free: 6.832 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003149/0.5204, allocations: 109.5 kB / 0.8341 GB, free: 6.785 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002421/0.5228, allocations: 1.201 MB / 0.8353 GB, free: 5.766 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.007638/0.5305, allocations: 3.786 MB / 0.839 GB, free: 2.715 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003563/0.534, allocations: 1.955 MB / 0.8409 GB, free: 1.223 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.006824/0.5409, allocations: 8.273 MB / 0.849 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002305/0.5432, allocations: 1.916 MB / 0.8509 GB, free: 11.41 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003748/0.5469, allocations: 2.292 MB / 0.8531 GB, free: 10.09 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00191/0.5489, allocations: 1.786 MB / 0.8548 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0001749/0.549, allocations: 90.25 kB / 0.8549 GB, free: 9.051 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003159/0.5522, allocations: 1.719 MB / 0.8566 GB, free: 7.496 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.000346/0.5526, allocations: 441.6 kB / 0.857 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001078/0.5537, allocations: 1.292 MB / 0.8583 GB, free: 5.758 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.003668/0.5573, allocations: 4.134 MB / 0.8623 GB, free: 1.613 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.5573, allocations: 4 kB / 0.8623 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of FrontEnd: time 8.92e-07/0.5573, allocations: 0 / 0.8623 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.867e-05/0.5574, allocations: 0 / 0.8623 GB, free: 1.609 MB / 0.5606 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.003915/0.5613, allocations: 2.658 MB / 0.8649 GB, free: 14.87 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.164e-05/0.5613, allocations: 8.031 kB / 0.8649 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002214/0.5616, allocations: 228 kB / 0.8652 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0041/0.5657, allocations: 0.9492 MB / 0.8661 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003361/0.569, allocations: 2.281 MB / 0.8683 GB, free: 11.32 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009331/0.57, allocations: 326.8 kB / 0.8686 GB, free: 11 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002074/0.5702, allocations: 156 kB / 0.8688 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003547/0.5738, allocations: 1.981 MB / 0.8707 GB, free: 8.797 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.62e-05/0.5738, allocations: 3.938 kB / 0.8707 GB, free: 8.793 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001368/0.5739, allocations: 60 kB / 0.8708 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.127e-05/0.574, allocations: 43.94 kB / 0.8708 GB, free: 8.691 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004384/0.5784, allocations: 1.893 MB / 0.8727 GB, free: 6.797 MB / 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.01001/0.5884, allocations: 9.078 MB / 0.8815 GB, free: 13.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004055/0.5924, allocations: 1.296 MB / 0.8828 GB, free: 11.8 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001052/0.5935, allocations: 490 kB / 0.8833 GB, free: 11.32 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009382/0.5945, allocations: 1.719 MB / 0.8849 GB, free: 9.215 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.5945, allocations: 46.31 kB / 0.885 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 1.883e-06/0.5945, allocations: 0 / 0.885 GB, free: 9.16 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.007993/0.6025, allocations: 2.512 MB / 0.8874 GB, free: 6.594 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.587e-05/0.6025, allocations: 85.11 kB / 0.8875 GB, free: 6.492 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003147/0.6057, allocations: 2.508 MB / 0.89 GB, free: 3.965 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.439e-05/0.6058, allocations: 45.7 kB / 0.89 GB, free: 3.914 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007392/0.6065, allocations: 1.041 MB / 0.891 GB, free: 2.863 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.6067, allocations: 272.2 kB / 0.8913 GB, free: 2.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001238/0.6069, allocations: 93.66 kB / 0.8914 GB, free: 2.496 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 9.728e-05/0.607, allocations: 349.9 kB / 0.8917 GB, free: 2.148 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001706/0.6087, allocations: 0.6272 MB / 0.8923 GB, free: 1.523 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00195/0.6106, allocations: 1.009 MB / 0.8933 GB, free: 376 kB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002849/0.6135, allocations: 1.334 MB / 0.8946 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.6135, allocations: 3.938 kB / 0.8946 GB, free: 14.92 MB / 0.6075 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006003/0.6195, allocations: 2.189 MB / 0.8968 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.6195, allocations: 12 kB / 0.8968 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.201e-05/0.6196, allocations: 12 kB / 0.8968 GB, free: 12.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001401/0.621, allocations: 433.3 kB / 0.8972 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.6222, allocations: 307.5 kB / 0.8975 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001929/0.6241, allocations: 1.548 MB / 0.899 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002559/0.6267, allocations: 475.3 kB / 0.8994 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001029/0.6268, allocations: 59.91 kB / 0.8995 GB, free: 9.836 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.0006233/0.6274, allocations: 473.4 kB / 0.9 GB, free: 9.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002827/0.6277, allocations: 248.9 kB / 0.9002 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003318/0.631, allocations: 1.551 MB / 0.9017 GB, free: 7.543 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.416e-05/0.6311, allocations: 8 kB / 0.9017 GB, free: 7.535 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.841e-06/0.6311, allocations: 4 kB / 0.9017 GB, free: 7.531 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.148e-06/0.6311, allocations: 3.984 kB / 0.9017 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006573/0.6377, allocations: 3.693 MB / 0.9053 GB, free: 3.727 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.063e-06/0.6377, allocations: 4 kB / 0.9053 GB, free: 3.723 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005728/0.6383, allocations: 136.2 kB / 0.9055 GB, free: 3.59 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001326/0.6396, allocations: 439.3 kB / 0.9059 GB, free: 3.156 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.278e-05/0.6397, allocations: 31.97 kB / 0.9059 GB, free: 3.125 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002414/0.6421, allocations: 1.628 MB / 0.9075 GB, free: 1.445 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.6421, allocations: 12.05 kB / 0.9075 GB, free: 1.434 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005503/0.6476, allocations: 2.064 MB / 0.9095 GB, free: 15.3 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006411/0.6483, allocations: 0.5131 MB / 0.91 GB, free: 14.77 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002434/0.6485, allocations: 20 kB / 0.91 GB, free: 14.75 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001657/0.6502, allocations: 195.7 kB / 0.9102 GB, free: 14.56 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.49e-05/0.6502, allocations: 59.8 kB / 0.9103 GB, free: 14.5 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.124e-05/0.6503, allocations: 39.97 kB / 0.9103 GB, free: 14.46 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.002449/0.6528, allocations: 1.769 MB / 0.9121 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of sort global known variables: time 2e-07/0.6528, allocations: 0 / 0.9121 GB, free: 12.69 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.00147/0.6543, allocations: 0.6788 MB / 0.9127 GB, free: 12.01 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.006587/0.6609, allocations: 3.119 MB / 0.9158 GB, free: 8.828 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.003701/0.6646, allocations: 1.432 MB / 0.9172 GB, free: 7.402 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 4.208e-06/0.6646, allocations: 4 kB / 0.9172 GB, free: 7.398 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002278/0.6669, allocations: 0.7269 MB / 0.9179 GB, free: 6.672 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006347/0.6732, allocations: 1.318 MB / 0.9192 GB, free: 5.375 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03834/0.7116, allocations: 20.25 MB / 0.9389 GB, free: 15.63 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008558/0.7125, allocations: 1.49 MB / 0.9404 GB, free: 14.11 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.00173/0.7142, allocations: 439.8 kB / 0.9408 GB, free: 13.68 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001044/0.7153, allocations: 0.9093 MB / 0.9417 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of SimCode: time 3.5e-07/0.7153, allocations: 0 / 0.9417 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.096/3.811, allocations: 68.85 MB / 1.009 GB, free: 8.816 MB / 0.7169 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002945/3.812, allocations: 285.4 kB / 1.009 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.548/7.359, allocations: 0 / 1.009 GB, free: 8.438 MB / 0.7169 GB (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)