Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP") translateModel(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.001039/0.001039, allocations: 108.2 kB / 15.99 MB, free: 6.352 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.001012/0.001012, allocations: 192.4 kB / 16.91 MB, free: 6.184 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.476/1.476, allocations: 205.1 MB / 222.8 MB, free: 4.68 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.728/1.728, allocations: 292.3 MB / 0.5492 GB, free: 13.6 MB / 462.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.001321/0.001321, allocations: 69.42 kB / 0.6716 GB, free: 26.43 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.221, allocations: 114.5 MB / 0.7835 GB, free: 13.9 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1139/0.335, allocations: 131.1 MB / 0.9115 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.5668/0.9018, allocations: 22.85 MB / 0.9338 GB, free: 44.19 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.008408/0.9103, allocations: 114.2 kB / 0.9339 GB, free: 44.19 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.006115/0.9165, allocations: 1.287 MB / 0.9352 GB, free: 44.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.01403/0.9306, allocations: 3.781 MB / 0.9389 GB, free: 44.01 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.006552/0.9372, allocations: 2.016 MB / 0.9408 GB, free: 43.96 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0124/0.9496, allocations: 6.542 MB / 0.9472 GB, free: 43.96 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005956/0.9556, allocations: 2.339 MB / 0.9495 GB, free: 43.67 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009926/0.9655, allocations: 2.768 MB / 0.9522 GB, free: 43.48 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00556/0.9711, allocations: 1.933 MB / 0.9541 GB, free: 43.13 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.001344/0.9725, allocations: 248.3 kB / 0.9543 GB, free: 43.13 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008087/0.9806, allocations: 1.966 MB / 0.9563 GB, free: 43.02 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.001513/0.9822, allocations: 0.5996 MB / 0.9568 GB, free: 42.9 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.005494/0.9877, allocations: 1.47 MB / 0.9583 GB, free: 42.47 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.007456/0.9952, allocations: 3.411 MB / 0.9616 GB, free: 42.2 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.913e-06/0.9952, allocations: 0 / 0.9616 GB, free: 42.2 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.905e-06/0.9952, allocations: 1.125 kB / 0.9616 GB, free: 42.2 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001249/0.9953, allocations: 0 / 0.9616 GB, free: 42.2 MB / 0.7325 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.009336/1.005, allocations: 3.185 MB / 0.9647 GB, free: 40.64 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 5.173e-05/1.005, allocations: 8.25 kB / 0.9647 GB, free: 40.64 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005255/1.01, allocations: 0.8387 MB / 0.9655 GB, free: 40.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006394/1.016, allocations: 2.29 MB / 0.9678 GB, free: 39.85 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009835/1.017, allocations: 296.3 kB / 0.9681 GB, free: 39.83 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006399/1.018, allocations: 161.6 kB / 0.9682 GB, free: 39.83 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004969/1.023, allocations: 1.933 MB / 0.9701 GB, free: 39.39 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.987e-05/1.023, allocations: 9.297 kB / 0.9701 GB, free: 39.38 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001731/1.023, allocations: 61.31 kB / 0.9702 GB, free: 39.33 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.596e-05/1.023, allocations: 41.44 kB / 0.9702 GB, free: 39.33 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004686/1.028, allocations: 1.822 MB / 0.972 GB, free: 38.71 MB / 0.7325 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.01412/1.042, allocations: 9.027 MB / 0.9808 GB, free: 32.29 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003941/1.046, allocations: 1.182 MB / 0.982 GB, free: 31.69 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009708/1.047, allocations: 462.6 kB / 0.9824 GB, free: 31.47 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008623/1.048, allocations: 1.727 MB / 0.9841 GB, free: 29.44 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.972e-05/1.048, allocations: 41.02 kB / 0.9841 GB, free: 29.39 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=76): time 3.196e-06/1.048, allocations: 2.875 kB / 0.9841 GB, free: 29.39 MB / 0.7325 GB Notification: Performance of matching and sorting (n=76): time 0.008447/1.057, allocations: 2.33 MB / 0.9864 GB, free: 28.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.797e-05/1.057, allocations: 84.2 kB / 0.9865 GB, free: 28.03 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004249/1.061, allocations: 2.499 MB / 0.9889 GB, free: 26.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0003071/1.061, allocations: 45.33 kB / 0.989 GB, free: 26.66 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007401/1.062, allocations: 1.04 MB / 0.99 GB, free: 25.75 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002856/1.062, allocations: 271.5 kB / 0.9902 GB, free: 25.52 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004507/1.063, allocations: 258.9 kB / 0.9905 GB, free: 25.37 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 9.102e-05/1.063, allocations: 345.9 kB / 0.9908 GB, free: 25.03 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001596/1.064, allocations: 0.5827 MB / 0.9914 GB, free: 24.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0019/1.066, allocations: 0.9836 MB / 0.9924 GB, free: 24.01 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002773/1.069, allocations: 1.254 MB / 0.9936 GB, free: 23.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.466e-06/1.069, allocations: 6.25 kB / 0.9936 GB, free: 23.19 MB / 0.7325 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006681/1.076, allocations: 2.052 MB / 0.9956 GB, free: 22.18 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 3.29e-05/1.076, allocations: 8.312 kB / 0.9956 GB, free: 22.18 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.176e-05/1.076, allocations: 9.5 kB / 0.9956 GB, free: 22.18 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001662/1.078, allocations: 422.7 kB / 0.996 GB, free: 21.96 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001241/1.079, allocations: 286.4 kB / 0.9963 GB, free: 21.88 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/1.081, allocations: 1.505 MB / 0.9978 GB, free: 20.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003792/1.085, allocations: 436.6 kB / 0.9982 GB, free: 20.37 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002455/1.085, allocations: 64.53 kB / 0.9982 GB, free: 20.35 MB / 0.7325 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.001082/1.086, allocations: 457 kB / 0.9987 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007808/1.087, allocations: 255.9 kB / 0.9989 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003454/1.09, allocations: 1.504 MB / 1 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.26e-05/1.09, allocations: 10.94 kB / 1 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.075e-06/1.09, allocations: 0 / 1 GB, free: 19.03 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.06e-05/1.09, allocations: 7.984 kB / 1 GB, free: 19.02 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007897/1.098, allocations: 3.581 MB / 1.004 GB, free: 16.59 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.401e-05/1.098, allocations: 11.88 kB / 1.004 GB, free: 16.58 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005875/1.099, allocations: 131.3 kB / 1.004 GB, free: 16.54 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0015/1.1, allocations: 414.6 kB / 1.004 GB, free: 16.33 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.488e-05/1.1, allocations: 31.95 kB / 1.004 GB, free: 16.31 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002205/1.103, allocations: 1.57 MB / 1.006 GB, free: 14.99 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.857e-06/1.103, allocations: 10.53 kB / 1.006 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00625/1.109, allocations: 1.927 MB / 1.008 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001689/1.111, allocations: 479.9 kB / 1.008 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000467/1.111, allocations: 32.19 kB / 1.008 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001819/1.113, allocations: 171.1 kB / 1.009 GB, free: 13.32 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.63e-05/1.113, allocations: 52.02 kB / 1.009 GB, free: 13.27 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.261e-05/1.113, allocations: 51.84 kB / 1.009 GB, free: 13.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.002606/1.116, allocations: 1.75 MB / 1.01 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.31e-07/1.116, allocations: 0 / 1.01 GB, free: 11.47 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002234/1.118, allocations: 0.6905 MB / 1.011 GB, free: 10.78 MB / 0.7325 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.001165/1.119, allocations: 0.5884 MB / 1.012 GB, free: 10.23 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003808/1.123, allocations: 1.414 MB / 1.013 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 4.719e-06/1.123, allocations: 0 / 1.013 GB, free: 8.824 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002016/1.125, allocations: 0.6615 MB / 1.014 GB, free: 8.164 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006547/1.132, allocations: 1.354 MB / 1.015 GB, free: 6.848 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006169/1.138, allocations: 4.334 MB / 1.019 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007229/1.139, allocations: 1.486 MB / 1.021 GB, free: 0.9336 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000672/1.139, allocations: 179.4 kB / 1.021 GB, free: 0.7578 MB / 0.7325 GB Notification: Performance of SimCode: time 1.162e-06/1.139, allocations: 3.938 kB / 1.021 GB, free: 0.7539 MB / 0.7325 GB Notification: Performance of Templates: time 0.08415/1.223, allocations: 62.24 MB / 1.082 GB, free: 2.988 MB / 0.795 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.makefile (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & ./Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)