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.001318/0.001318, allocations: 108 kB / 15.6 MB, free: 132 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.001654/0.001654, allocations: 193.4 kB / 16.53 MB, free: 6.391 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.818/1.818, allocations: 205.1 MB / 222.4 MB, free: 4.562 MB / 174.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.612/1.612, allocations: 251.7 MB / 0.5092 GB, free: 3.141 MB / 414.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.001577/0.001577, allocations: 67.91 kB / 0.6223 GB, free: 1.551 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5583/0.5599, allocations: 104.7 MB / 0.7245 GB, free: 12.96 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1364/0.6963, allocations: 132.2 MB / 0.8536 GB, free: 8.281 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.03556/0.732, allocations: 22.95 MB / 0.876 GB, free: 1.273 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005983/0.738, allocations: 119.2 kB / 0.8762 GB, free: 1.156 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.005161/0.7432, allocations: 1.502 MB / 0.8776 GB, free: 15.64 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.01429/0.7576, allocations: 4.064 MB / 0.8816 GB, free: 11.56 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.007195/0.7648, allocations: 2.18 MB / 0.8837 GB, free: 9.402 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.01342/0.7782, allocations: 6.493 MB / 0.8901 GB, free: 2.891 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005003/0.7832, allocations: 2.363 MB / 0.8924 GB, free: 476 kB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008168/0.7915, allocations: 2.678 MB / 0.895 GB, free: 13.79 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004847/0.7963, allocations: 1.886 MB / 0.8968 GB, free: 11.89 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000898/0.7972, allocations: 256 kB / 0.8971 GB, free: 11.64 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00629/0.8036, allocations: 1.872 MB / 0.8989 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009316/0.8045, allocations: 0.5914 MB / 0.8995 GB, free: 9.172 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002924/0.8074, allocations: 1.458 MB / 0.9009 GB, free: 7.707 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008958/0.8164, allocations: 4.296 MB / 0.9051 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.772e-06/0.8165, allocations: 0 / 0.9051 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.414e-06/0.8165, allocations: 0 / 0.9051 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.292e-05/0.8166, allocations: 0 / 0.9051 GB, free: 3.398 MB / 0.7169 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.00735/0.8239, allocations: 3.18 MB / 0.9082 GB, free: 136 kB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.09e-05/0.824, allocations: 12.02 kB / 0.9082 GB, free: 124 kB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.5391/1.363, allocations: 0.8338 MB / 0.909 GB, free: 65.19 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005811/1.369, allocations: 2.219 MB / 0.9112 GB, free: 64.76 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.00111/1.37, allocations: 292.6 kB / 0.9115 GB, free: 64.76 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003761/1.371, allocations: 161.8 kB / 0.9116 GB, free: 64.76 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004518/1.375, allocations: 1.936 MB / 0.9135 GB, free: 64.54 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.17e-05/1.375, allocations: 1.938 kB / 0.9135 GB, free: 64.54 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001413/1.375, allocations: 63.45 kB / 0.9136 GB, free: 64.54 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.908e-05/1.375, allocations: 37.03 kB / 0.9136 GB, free: 64.54 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005039/1.38, allocations: 1.813 MB / 0.9154 GB, free: 64.49 MB / 0.7169 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.01308/1.393, allocations: 9.058 MB / 0.9242 GB, free: 60.14 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/1.398, allocations: 1.192 MB / 0.9254 GB, free: 60.07 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001198/1.399, allocations: 472.5 kB / 0.9258 GB, free: 60.04 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008024/1.4, allocations: 1.719 MB / 0.9275 GB, free: 58.07 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.875e-05/1.4, allocations: 46.69 kB / 0.9276 GB, free: 58.03 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.665e-06/1.4, allocations: 0 / 0.9276 GB, free: 58.03 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008477/1.408, allocations: 2.322 MB / 0.9298 GB, free: 57.59 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.747e-05/1.409, allocations: 84.72 kB / 0.9299 GB, free: 57.5 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003823/1.412, allocations: 2.52 MB / 0.9324 GB, free: 57.25 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001967/1.413, allocations: 49.67 kB / 0.9324 GB, free: 57.22 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007581/1.413, allocations: 1.038 MB / 0.9334 GB, free: 56.96 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.000255/1.414, allocations: 269.4 kB / 0.9337 GB, free: 56.79 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003841/1.414, allocations: 253.2 kB / 0.9339 GB, free: 56.76 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 7.085e-05/1.414, allocations: 348.9 kB / 0.9343 GB, free: 56.45 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001679/1.416, allocations: 0.5764 MB / 0.9348 GB, free: 56.44 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001942/1.418, allocations: 0.955 MB / 0.9358 GB, free: 56.02 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/1.421, allocations: 1.256 MB / 0.937 GB, free: 55.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.793e-06/1.421, allocations: 2.844 kB / 0.937 GB, free: 55.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.009156/1.43, allocations: 2.324 MB / 0.9393 GB, free: 55.44 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.367e-05/1.43, allocations: 8.375 kB / 0.9393 GB, free: 55.44 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.418e-05/1.43, allocations: 7.938 kB / 0.9393 GB, free: 55.44 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00167/1.431, allocations: 426 kB / 0.9397 GB, free: 55.4 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001169/1.433, allocations: 283.2 kB / 0.94 GB, free: 55.39 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001857/1.435, allocations: 1.502 MB / 0.9414 GB, free: 54.34 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003041/1.438, allocations: 406 kB / 0.9418 GB, free: 54.23 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001428/1.438, allocations: 57.48 kB / 0.9419 GB, free: 54.23 MB / 0.7169 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.0008588/1.439, allocations: 469.4 kB / 0.9423 GB, free: 54.1 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004316/1.439, allocations: 247.8 kB / 0.9426 GB, free: 53.98 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003452/1.443, allocations: 1.492 MB / 0.944 GB, free: 53.84 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.748e-05/1.443, allocations: 12.44 kB / 0.944 GB, free: 53.84 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.135e-06/1.443, allocations: 6.531 kB / 0.944 GB, free: 53.83 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.204e-05/1.443, allocations: 7.172 kB / 0.944 GB, free: 53.83 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006948/1.45, allocations: 3.588 MB / 0.9475 GB, free: 53.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.045e-05/1.45, allocations: 3.438 kB / 0.9475 GB, free: 53.22 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006137/1.45, allocations: 128.5 kB / 0.9477 GB, free: 53.22 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001452/1.452, allocations: 427 kB / 0.9481 GB, free: 53.17 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.236e-05/1.452, allocations: 29.66 kB / 0.9481 GB, free: 53.17 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002346/1.454, allocations: 1.566 MB / 0.9496 GB, free: 52.12 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.2e-06/1.454, allocations: 6.25 kB / 0.9496 GB, free: 52.12 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005779/1.46, allocations: 1.931 MB / 0.9515 GB, free: 51.61 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001055/1.461, allocations: 488.5 kB / 0.952 GB, free: 51.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003278/1.461, allocations: 17.5 kB / 0.952 GB, free: 51.38 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001629/1.463, allocations: 145.5 kB / 0.9521 GB, free: 51.37 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.15e-05/1.463, allocations: 62.33 kB / 0.9522 GB, free: 51.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.036e-05/1.463, allocations: 40.98 kB / 0.9522 GB, free: 51.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002705/1.466, allocations: 1.774 MB / 0.954 GB, free: 51.21 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/1.466, allocations: 0 / 0.954 GB, free: 51.21 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.00193/1.468, allocations: 0.6645 MB / 0.9546 GB, free: 51.17 MB / 0.7169 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.001041/1.469, allocations: 0.583 MB / 0.9552 GB, free: 51.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.004141/1.473, allocations: 1.383 MB / 0.9565 GB, free: 50.97 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.473, allocations: 2.844 kB / 0.9565 GB, free: 50.97 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002255/1.475, allocations: 0.6705 MB / 0.9572 GB, free: 50.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006866/1.482, allocations: 1.354 MB / 0.9585 GB, free: 50.71 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006308/1.488, allocations: 3.592 MB / 0.962 GB, free: 49.21 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008809/1.489, allocations: 1.49 MB / 0.9635 GB, free: 48.46 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.00233/1.492, allocations: 432.4 kB / 0.9639 GB, free: 48.33 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004227/1.492, allocations: 166.8 kB / 0.9641 GB, free: 48.32 MB / 0.7169 GB Notification: Performance of SimCode: time 1.984e-06/1.492, allocations: 0 / 0.9641 GB, free: 48.32 MB / 0.7169 GB Notification: Performance of Templates: time 0.07411/1.566, allocations: 50.99 MB / 1.014 GB, free: 1.086 MB / 0.7169 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)