Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.009534/0.009534, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001363/0.001363, allocations: 191.3 kB / 16.67 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.497/1.497, allocations: 205.1 MB / 222.5 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.411/1.411, allocations: 251.7 MB / 0.5094 GB, free: 400 kB / 430.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001363/0.001363, allocations: 75.89 kB / 0.7258 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5761/0.5775, allocations: 104.7 MB / 0.828 GB, free: 2.602 MB / 0.6231 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1276/0.7051, allocations: 132.2 MB / 0.9572 GB, free: 13.92 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.03388/0.7391, allocations: 22.94 MB / 0.9796 GB, free: 6.914 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005016/0.7441, allocations: 119.2 kB / 0.9797 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.00434/0.7485, allocations: 1.537 MB / 0.9812 GB, free: 5.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.01335/0.7619, allocations: 4.28 MB / 0.9854 GB, free: 0.9531 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.007448/0.7694, allocations: 2.201 MB / 0.9875 GB, free: 14.77 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.013/0.7824, allocations: 6.517 MB / 0.9939 GB, free: 8.234 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004747/0.7872, allocations: 2.359 MB / 0.9962 GB, free: 5.812 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007991/0.7952, allocations: 2.763 MB / 0.9989 GB, free: 3.051 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004074/0.7993, allocations: 1.906 MB / 1.001 GB, free: 1.137 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0008168/0.8001, allocations: 248 kB / 1.001 GB, free: 0.8945 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005214/0.8054, allocations: 1.864 MB / 1.003 GB, free: 15.03 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0008026/0.8062, allocations: 0.5992 MB / 1.003 GB, free: 14.43 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.002629/0.8088, allocations: 1.454 MB / 1.005 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.007736/0.8166, allocations: 4.337 MB / 1.009 GB, free: 8.617 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 6.753e-06/0.8166, allocations: 4 kB / 1.009 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.954e-06/0.8166, allocations: 0 / 1.009 GB, free: 8.613 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.599e-05/0.8167, allocations: 0 / 1.009 GB, free: 8.613 MB / 0.8106 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.005812/0.8225, allocations: 3.18 MB / 1.012 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.8226, allocations: 12.03 kB / 1.012 GB, free: 5.336 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004092/0.8267, allocations: 0.8399 MB / 1.013 GB, free: 4.492 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004493/0.8312, allocations: 2.342 MB / 1.015 GB, free: 2.078 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001216/0.8313, allocations: 127 kB / 1.015 GB, free: 1.953 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002893/0.8316, allocations: 160 kB / 1.016 GB, free: 1.797 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004366/0.836, allocations: 1.923 MB / 1.017 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.8361, allocations: 0 / 1.017 GB, free: 15.81 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001794/0.8362, allocations: 71.92 kB / 1.017 GB, free: 15.74 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.621e-05/0.8363, allocations: 39.94 kB / 1.018 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004625/0.8409, allocations: 1.784 MB / 1.019 GB, free: 13.91 MB / 0.8262 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.01388/0.8548, allocations: 8.957 MB / 1.028 GB, free: 4.355 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004038/0.8589, allocations: 1.189 MB / 1.029 GB, free: 3.148 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001057/0.86, allocations: 469.2 kB / 1.03 GB, free: 2.684 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00118/0.8612, allocations: 1.726 MB / 1.031 GB, free: 0.5703 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.497e-05/0.8612, allocations: 46.5 kB / 1.031 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=76): time 2.925e-06/0.8612, allocations: 0 / 1.031 GB, free: 0.5156 MB / 0.8262 GB Notification: Performance of matching and sorting (n=76): time 0.008248/0.8695, allocations: 2.318 MB / 1.034 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.531e-05/0.8696, allocations: 89.05 kB / 1.034 GB, free: 14.04 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004332/0.8739, allocations: 2.508 MB / 1.036 GB, free: 11.51 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 0.0001362/0.874, allocations: 45.7 kB / 1.036 GB, free: 11.46 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 0.000908/0.875, allocations: 1.038 MB / 1.037 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002705/0.8752, allocations: 268.2 kB / 1.037 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000495/0.8757, allocations: 254.5 kB / 1.038 GB, free: 9.887 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001361/0.8759, allocations: 349.9 kB / 1.038 GB, free: 9.539 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/0.8776, allocations: 0.5646 MB / 1.039 GB, free: 8.977 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001968/0.8796, allocations: 0.9461 MB / 1.04 GB, free: 7.875 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002902/0.8825, allocations: 1.234 MB / 1.041 GB, free: 6.539 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.548e-06/0.8825, allocations: 3.938 kB / 1.041 GB, free: 6.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.008469/0.891, allocations: 2.294 MB / 1.043 GB, free: 4.223 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 2.384e-05/0.891, allocations: 8 kB / 1.043 GB, free: 4.215 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.705e-05/0.8911, allocations: 8 kB / 1.043 GB, free: 4.207 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001669/0.8927, allocations: 421.8 kB / 1.043 GB, free: 3.789 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.894, allocations: 283.5 kB / 1.044 GB, free: 3.512 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002112/0.8961, allocations: 1.491 MB / 1.045 GB, free: 1.969 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002838/0.8989, allocations: 370 kB / 1.045 GB, free: 1.605 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000197/0.8992, allocations: 55.97 kB / 1.046 GB, free: 1.551 MB / 0.8419 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 (109): * Single equations (assignments): 107 * 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.000978/0.9001, allocations: 461.5 kB / 1.046 GB, free: 1.09 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008045/0.901, allocations: 245 kB / 1.046 GB, free: 0.8477 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003937/0.9049, allocations: 1.497 MB / 1.048 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.991e-05/0.9049, allocations: 15.98 kB / 1.048 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.396e-06/0.905, allocations: 4 kB / 1.048 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.128e-05/0.905, allocations: 3.984 kB / 1.048 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008168/0.9132, allocations: 3.601 MB / 1.051 GB, free: 11.61 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.354e-05/0.9132, allocations: 4 kB / 1.051 GB, free: 11.6 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006126/0.9138, allocations: 123.8 kB / 1.051 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001519/0.9153, allocations: 417.3 kB / 1.052 GB, free: 11.07 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.768e-05/0.9154, allocations: 27.98 kB / 1.052 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002438/0.9179, allocations: 1.565 MB / 1.053 GB, free: 9.422 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.985e-06/0.9179, allocations: 7.938 kB / 1.053 GB, free: 9.414 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005892/0.9238, allocations: 1.943 MB / 1.055 GB, free: 7.406 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001234/0.9251, allocations: 481.6 kB / 1.056 GB, free: 6.914 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005539/0.9256, allocations: 23.91 kB / 1.056 GB, free: 6.891 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001876/0.9275, allocations: 139.8 kB / 1.056 GB, free: 6.754 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001022/0.9276, allocations: 67.66 kB / 1.056 GB, free: 6.688 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001135/0.9277, allocations: 39.97 kB / 1.056 GB, free: 6.648 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.003746/0.9315, allocations: 1.754 MB / 1.058 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.61e-07/0.9315, allocations: 0 / 1.058 GB, free: 4.887 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.002394/0.9339, allocations: 0.6632 MB / 1.058 GB, free: 4.223 MB / 0.8575 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.00147/0.9354, allocations: 0.5829 MB / 1.059 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.004425/0.9398, allocations: 1.318 MB / 1.06 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 7.344e-06/0.9399, allocations: 4.188 kB / 1.06 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.002316/0.9422, allocations: 0.6842 MB / 1.061 GB, free: 1.641 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007957/0.9502, allocations: 1.354 MB / 1.062 GB, free: 320 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007953/0.9582, allocations: 3.53 MB / 1.066 GB, free: 12.71 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001552/0.9598, allocations: 1.49 MB / 1.067 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.002415/0.9622, allocations: 436.5 kB / 1.067 GB, free: 10.75 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006212/0.9628, allocations: 163.4 kB / 1.068 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of SimCode: time 1.613e-06/0.9628, allocations: 0 / 1.068 GB, free: 10.59 MB / 0.8731 GB Notification: Performance of Templates: time 0.6016/1.564, allocations: 48.57 MB / 1.115 GB, free: 246.8 MB / 0.8887 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)