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.001551/0.001551, 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.001815/0.001815, allocations: 197.1 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.313/1.313, allocations: 222.9 MB / 240.2 MB, free: 4.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00216/0.00216, allocations: 290.9 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9411/0.9411, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001996/0.001996, allocations: 97.08 kB / 0.5953 GB, free: 27.84 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1417, allocations: 86.98 MB / 0.6803 GB, free: 0.5742 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3849/0.5266, allocations: 132.2 MB / 0.8094 GB, free: 33.61 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.02816/0.5548, allocations: 23.22 MB / 0.832 GB, free: 24.66 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004568/0.5594, allocations: 124.9 kB / 0.8322 GB, free: 24.61 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.00407/0.5635, allocations: 1.494 MB / 0.8336 GB, free: 23.66 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.01029/0.5739, allocations: 4.092 MB / 0.8376 GB, free: 21.2 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004903/0.5788, allocations: 2.151 MB / 0.8397 GB, free: 19.6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00726/0.586, allocations: 6.523 MB / 0.8461 GB, free: 15.79 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003138/0.5892, allocations: 2.35 MB / 0.8484 GB, free: 14.28 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005301/0.5945, allocations: 2.74 MB / 0.8511 GB, free: 12.61 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003201/0.5977, allocations: 1.875 MB / 0.8529 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007441/0.5985, allocations: 248.4 kB / 0.8531 GB, free: 11.46 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005248/0.6038, allocations: 1.929 MB / 0.855 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0008063/0.6046, allocations: 0.5944 MB / 0.8556 GB, free: 9.953 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002601/0.6072, allocations: 1.453 MB / 0.857 GB, free: 8.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.005966/0.6132, allocations: 4.338 MB / 0.8612 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.6132, allocations: 0 / 0.8612 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.392e-06/0.6132, allocations: 0 / 0.8612 GB, free: 6.066 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 5.129e-05/0.6133, allocations: 2.531 kB / 0.8612 GB, free: 6.066 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.004671/0.6179, allocations: 3.163 MB / 0.8643 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.974e-05/0.618, allocations: 8.281 kB / 0.8643 GB, free: 3.715 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002033/0.6182, allocations: 222.9 kB / 0.8646 GB, free: 3.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004278/0.6225, allocations: 0.8434 MB / 0.8654 GB, free: 3.145 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003735/0.6262, allocations: 2.202 MB / 0.8675 GB, free: 1.277 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0008911/0.6271, allocations: 298.8 kB / 0.8678 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001854/0.6273, allocations: 156 kB / 0.868 GB, free: 0.832 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003718/0.6311, allocations: 1.942 MB / 0.8699 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.858e-05/0.6311, allocations: 3.938 kB / 0.8699 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001504/0.6312, allocations: 60 kB / 0.8699 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.98e-05/0.6313, allocations: 43.94 kB / 0.87 GB, free: 14.72 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00483/0.6361, allocations: 1.811 MB / 0.8717 GB, free: 12.91 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.01272/0.6489, allocations: 9.05 MB / 0.8806 GB, free: 3.258 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004407/0.6533, allocations: 1.181 MB / 0.8817 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001158/0.6545, allocations: 470.1 kB / 0.8822 GB, free: 1.598 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00124/0.6557, allocations: 1.726 MB / 0.8839 GB, free: 15.48 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.473e-05/0.6558, allocations: 50.31 kB / 0.8839 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=76): time 3.115e-06/0.6558, allocations: 0 / 0.8839 GB, free: 15.43 MB / 0.5919 GB Notification: Performance of matching and sorting (n=76): time 0.008984/0.6648, allocations: 2.328 MB / 0.8862 GB, free: 13.04 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.142e-05/0.6648, allocations: 85.11 kB / 0.8863 GB, free: 12.94 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004705/0.6695, allocations: 2.516 MB / 0.8887 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 0.0001568/0.6697, allocations: 45.7 kB / 0.8888 GB, free: 10.36 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009026/0.6706, allocations: 1.034 MB / 0.8898 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002597/0.6709, allocations: 276.2 kB / 0.89 GB, free: 9.039 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004442/0.6714, allocations: 250.6 kB / 0.8903 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001193/0.6715, allocations: 353.9 kB / 0.8906 GB, free: 8.438 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001928/0.6734, allocations: 0.5803 MB / 0.8912 GB, free: 7.855 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002235/0.6757, allocations: 0.9776 MB / 0.8921 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003203/0.6789, allocations: 1.26 MB / 0.8934 GB, free: 5.367 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.957e-06/0.6789, allocations: 7.938 kB / 0.8934 GB, free: 5.359 MB / 0.5919 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006934/0.6858, allocations: 2.044 MB / 0.8954 GB, free: 3.297 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.284e-05/0.6859, allocations: 14.59 kB / 0.8954 GB, free: 3.285 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.5e-05/0.6859, allocations: 8 kB / 0.8954 GB, free: 3.277 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.6875, allocations: 421.9 kB / 0.8958 GB, free: 2.859 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001265/0.6888, allocations: 291.5 kB / 0.8961 GB, free: 2.574 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002167/0.691, allocations: 1.506 MB / 0.8975 GB, free: 1.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002983/0.694, allocations: 382 kB / 0.8979 GB, free: 0.6445 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001596/0.6942, allocations: 71.95 kB / 0.898 GB, free: 0.5742 MB / 0.5919 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.0008602/0.695, allocations: 459.9 kB / 0.8984 GB, free: 120 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005754/0.6956, allocations: 251.2 kB / 0.8986 GB, free: 15.87 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00384/0.6995, allocations: 1.497 MB / 0.9001 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.681e-05/0.6995, allocations: 8 kB / 0.9001 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.951e-06/0.6995, allocations: 0 / 0.9001 GB, free: 14.36 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.3e-05/0.6995, allocations: 3.984 kB / 0.9001 GB, free: 14.35 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008046/0.7076, allocations: 3.611 MB / 0.9036 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.945e-06/0.7076, allocations: 0 / 0.9036 GB, free: 10.63 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006438/0.7082, allocations: 132.2 kB / 0.9038 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001497/0.7098, allocations: 418.9 kB / 0.9042 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.037e-05/0.7098, allocations: 23.98 kB / 0.9042 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00263/0.7125, allocations: 1.573 MB / 0.9057 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.7125, allocations: 96 / 0.9057 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006225/0.7187, allocations: 1.939 MB / 0.9076 GB, free: 6.441 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009476/0.7197, allocations: 493.6 kB / 0.9081 GB, free: 5.938 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004699/0.7202, allocations: 20 kB / 0.9081 GB, free: 5.918 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001884/0.7221, allocations: 147.8 kB / 0.9083 GB, free: 5.773 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.488e-05/0.7222, allocations: 59.8 kB / 0.9083 GB, free: 5.715 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.409e-05/0.7223, allocations: 43.97 kB / 0.9083 GB, free: 5.672 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.003145/0.7254, allocations: 1.765 MB / 0.9101 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.8e-07/0.7254, allocations: 0 / 0.9101 GB, free: 3.902 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.00199/0.7274, allocations: 0.6867 MB / 0.9107 GB, free: 3.215 MB / 0.6075 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.007688/0.7351, allocations: 2.994 MB / 0.9137 GB, free: 152 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.004655/0.7398, allocations: 1.392 MB / 0.915 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 5.661e-06/0.7398, allocations: 0 / 0.915 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.002441/0.7423, allocations: 0.6614 MB / 0.9157 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006411/0.7487, allocations: 1.34 MB / 0.917 GB, free: 12.8 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03653/0.7852, allocations: 19.19 MB / 0.9357 GB, free: 8.113 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001048/0.7863, allocations: 1.49 MB / 0.9372 GB, free: 6.59 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00193/0.7883, allocations: 430.9 kB / 0.9376 GB, free: 6.168 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001132/0.7894, allocations: 0.9015 MB / 0.9385 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of SimCode: time 5.21e-07/0.7894, allocations: 0 / 0.9385 GB, free: 5.266 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1053/0.8947, allocations: 68.17 MB / 1.005 GB, free: 1.992 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.69/13.58, allocations: 4 kB / 1.005 GB, free: 1.988 MB / 0.7012 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)