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/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) 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) 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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.366/1.366, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001034/0.001034, allocations: 177.2 kB / 327.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.643/1.643, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007271/0.000727, allocations: 86.12 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003129/0.000313, allocations: 9 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1834/0.1837, allocations: 106.3 MB / 0.9014 GB, free: 63.52 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.104/0.2878, allocations: 129.4 MB / 1.028 GB, free: 13.73 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.0322/0.32, allocations: 22.79 MB / 1.05 GB, free: 6.871 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005994/0.3261, allocations: 107.2 kB / 1.05 GB, free: 6.766 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.004903/0.331, allocations: 1.196 MB / 1.051 GB, free: 5.562 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.01273/0.3438, allocations: 3.747 MB / 1.055 GB, free: 1.801 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.44/0.7838, allocations: 1.996 MB / 1.057 GB, free: 44.21 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0108/0.7946, allocations: 8.233 MB / 1.065 GB, free: 44.21 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004112/0.7987, allocations: 1.901 MB / 1.067 GB, free: 44 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006558/0.8053, allocations: 2.282 MB / 1.069 GB, free: 44 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005035/0.8104, allocations: 1.796 MB / 1.071 GB, free: 43.99 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0008524/0.8113, allocations: 93.94 kB / 1.071 GB, free: 43.99 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005763/0.8171, allocations: 1.617 MB / 1.072 GB, free: 43.99 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001327/0.8184, allocations: 442.4 kB / 1.073 GB, free: 43.97 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.004076/0.8225, allocations: 1.299 MB / 1.074 GB, free: 43.54 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.005959/0.8285, allocations: 3.226 MB / 1.077 GB, free: 43.42 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.8286, allocations: 0 / 1.077 GB, free: 43.42 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.355e-06/0.8286, allocations: 1.125 kB / 1.077 GB, free: 43.42 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0001632/0.8287, allocations: 0 / 1.077 GB, free: 43.42 MB / 0.698 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.007209/0.836, allocations: 2.671 MB / 1.08 GB, free: 42.04 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.518e-05/0.836, allocations: 12.97 kB / 1.08 GB, free: 42.03 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005045/0.8411, allocations: 0.955 MB / 1.081 GB, free: 41.84 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006117/0.8472, allocations: 2.294 MB / 1.083 GB, free: 41.28 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009923/0.8482, allocations: 324.2 kB / 1.083 GB, free: 41.25 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006229/0.8489, allocations: 158.5 kB / 1.084 GB, free: 41.25 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004722/0.8536, allocations: 1.986 MB / 1.086 GB, free: 41.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.273e-05/0.8537, allocations: 2.219 kB / 1.086 GB, free: 41.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001523/0.8539, allocations: 64.53 kB / 1.086 GB, free: 41.02 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.81e-05/0.8539, allocations: 36.03 kB / 1.086 GB, free: 41.02 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004669/0.8586, allocations: 1.898 MB / 1.087 GB, free: 40.96 MB / 0.698 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.01238/0.871, allocations: 9.078 MB / 1.096 GB, free: 36.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/0.8751, allocations: 1.294 MB / 1.098 GB, free: 36.49 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001106/0.8762, allocations: 487.6 kB / 1.098 GB, free: 36.46 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008389/0.8771, allocations: 1.725 MB / 1.1 GB, free: 34.49 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.062e-05/0.8771, allocations: 46.19 kB / 1.1 GB, free: 34.45 MB / 0.698 GB Notification: Performance of pre-optimization done (n=76): time 2.675e-06/0.8772, allocations: 0 / 1.1 GB, free: 34.45 MB / 0.698 GB Notification: Performance of matching and sorting (n=76): time 0.01042/0.8876, allocations: 2.505 MB / 1.102 GB, free: 33.99 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.477e-05/0.8877, allocations: 88.95 kB / 1.102 GB, free: 33.89 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00529/0.893, allocations: 2.518 MB / 1.105 GB, free: 33.64 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002767/0.8933, allocations: 46.64 kB / 1.105 GB, free: 33.61 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008592/0.8942, allocations: 1.042 MB / 1.106 GB, free: 33.35 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.8945, allocations: 266.1 kB / 1.106 GB, free: 33.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.4e-05/0.8945, allocations: 23.69 kB / 1.106 GB, free: 33.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.464e-05/0.8946, allocations: 348.8 kB / 1.106 GB, free: 32.88 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001658/0.8963, allocations: 0.6194 MB / 1.107 GB, free: 32.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001887/0.8982, allocations: 1.004 MB / 1.108 GB, free: 32.44 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002789/0.901, allocations: 1.318 MB / 1.109 GB, free: 32.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.783e-06/0.901, allocations: 3.906 kB / 1.109 GB, free: 32.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=130) (initialization): time 0.005142/0.9062, allocations: 1.94 MB / 1.111 GB, free: 31.76 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.702e-05/0.9062, allocations: 8.438 kB / 1.111 GB, free: 31.76 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.678e-05/0.9062, allocations: 18.27 kB / 1.111 GB, free: 31.75 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001573/0.9078, allocations: 437.1 kB / 1.112 GB, free: 31.59 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001203/0.909, allocations: 303.5 kB / 1.112 GB, free: 31.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001882/0.9109, allocations: 1.54 MB / 1.113 GB, free: 30.38 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003339/0.9143, allocations: 485.3 kB / 1.114 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001727/0.9145, allocations: 60.66 kB / 1.114 GB, free: 30.16 MB / 0.698 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.0009466/0.9154, allocations: 458 kB / 1.114 GB, free: 30.03 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004386/0.9159, allocations: 252.2 kB / 1.115 GB, free: 29.89 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003402/0.9193, allocations: 1.552 MB / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.064e-05/0.9193, allocations: 14.39 kB / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.463e-06/0.9193, allocations: 0 / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.087e-05/0.9194, allocations: 3.984 kB / 1.116 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00738/0.9267, allocations: 3.679 MB / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-05/0.9268, allocations: 3.469 kB / 1.12 GB, free: 28.03 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006065/0.9274, allocations: 142 kB / 1.12 GB, free: 28 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001474/0.9289, allocations: 440.8 kB / 1.12 GB, free: 27.84 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.122e-05/0.929, allocations: 25.64 kB / 1.12 GB, free: 27.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002341/0.9313, allocations: 1.632 MB / 1.122 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/0.9314, allocations: 7 kB / 1.122 GB, free: 26.65 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006228/0.9376, allocations: 2.082 MB / 1.124 GB, free: 25.83 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001483/0.9391, allocations: 0.5028 MB / 1.124 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004378/0.9396, allocations: 21.22 kB / 1.124 GB, free: 25.51 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00185/0.9414, allocations: 192.6 kB / 1.125 GB, free: 25.44 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/0.9416, allocations: 61.72 kB / 1.125 GB, free: 25.42 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.858e-05/0.9417, allocations: 48.05 kB / 1.125 GB, free: 25.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0029/0.9446, allocations: 1.769 MB / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9446, allocations: 0 / 1.127 GB, free: 24.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.002461/0.9471, allocations: 0.6521 MB / 1.127 GB, free: 24.9 MB / 0.698 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.001135/0.9482, allocations: 0.5755 MB / 1.128 GB, free: 24.65 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.003975/0.9522, allocations: 1.41 MB / 1.129 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.053e-06/0.9522, allocations: 3.094 kB / 1.129 GB, free: 24.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.002244/0.9545, allocations: 0.7296 MB / 1.13 GB, free: 23.98 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007837/0.9623, allocations: 1.339 MB / 1.131 GB, free: 22.9 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006175/0.9685, allocations: 4.375 MB / 1.135 GB, free: 18.82 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007315/0.9693, allocations: 1.494 MB / 1.137 GB, free: 17.32 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008695/0.9702, allocations: 191.2 kB / 1.137 GB, free: 17.14 MB / 0.698 GB Notification: Performance of SimCode: time 1.122e-06/0.9702, allocations: 0 / 1.137 GB, free: 17.14 MB / 0.698 GB Notification: Performance of Templates: time 0.07916/1.049, allocations: 61.49 MB / 1.197 GB, free: 4.629 MB / 0.7448 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)