Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") translateModel(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.156/2.156, allocations: 391.2 MB / 407 MB, free: 10.87 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 197.5 kB / 499.1 MB, free: 4.633 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.542/1.542, allocations: 222.9 MB / 0.7948 GB, free: 15.76 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009819/0.000982, allocations: 103.7 kB / 0.9329 GB, free: 7.059 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.001092/0.001092, allocations: 50.09 kB / 1.081 GB, free: 218.3 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2698/0.2709, allocations: 140.6 MB / 1.218 GB, free: 117.2 MB / 0.823 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.04447/0.3154, allocations: 60.87 MB / 1.278 GB, free: 56.13 MB / 0.823 GB Notification: Performance of NFInst.instExpressions: time 0.01344/0.3289, allocations: 12.06 MB / 1.289 GB, free: 44.04 MB / 0.823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002531/0.3315, allocations: 51.69 kB / 1.289 GB, free: 43.99 MB / 0.823 GB Notification: Performance of NFTyping.typeComponents: time 0.002068/0.3336, allocations: 0.5555 MB / 1.29 GB, free: 43.43 MB / 0.823 GB Notification: Performance of NFTyping.typeBindings: time 0.00497/0.3386, allocations: 1.804 MB / 1.292 GB, free: 41.62 MB / 0.823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003001/0.3416, allocations: 1.08 MB / 1.293 GB, free: 40.55 MB / 0.823 GB Notification: Performance of NFFlatten.flatten: time 0.004123/0.3458, allocations: 3.925 MB / 1.297 GB, free: 36.61 MB / 0.823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001307/0.3471, allocations: 0.9534 MB / 1.297 GB, free: 35.62 MB / 0.823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.3495, allocations: 1.167 MB / 1.299 GB, free: 34.45 MB / 0.823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001486/0.351, allocations: 0.906 MB / 1.3 GB, free: 33.54 MB / 0.823 GB Notification: Performance of NFPackage.collectConstants: time 0.0001453/0.3512, allocations: 60 kB / 1.3 GB, free: 33.48 MB / 0.823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/0.3538, allocations: 1.345 MB / 1.301 GB, free: 32.14 MB / 0.823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002736/0.3541, allocations: 246.8 kB / 1.301 GB, free: 31.89 MB / 0.823 GB Notification: Performance of NFVerifyModel.verify: time 0.0008336/0.355, allocations: 0.6411 MB / 1.302 GB, free: 31.25 MB / 0.823 GB Notification: Performance of NFConvertDAE.convert: time 0.002672/0.3577, allocations: 2.255 MB / 1.304 GB, free: 28.99 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 5.069e-06/0.3577, allocations: 4 kB / 1.304 GB, free: 28.98 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.353e-06/0.3577, allocations: 0 / 1.304 GB, free: 28.98 MB / 0.823 GB Notification: Performance of Transformations before backend: time 1.659e-05/0.3577, allocations: 0 / 1.304 GB, free: 28.98 MB / 0.823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002659/0.3604, allocations: 1.742 MB / 1.306 GB, free: 27.18 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 4.723e-05/0.3604, allocations: 11.98 kB / 1.306 GB, free: 27.17 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002267/0.3627, allocations: 458.8 kB / 1.306 GB, free: 26.72 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001755/0.3645, allocations: 1.136 MB / 1.307 GB, free: 25.53 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003294/0.3648, allocations: 117.9 kB / 1.307 GB, free: 25.41 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.407e-05/0.3649, allocations: 84 kB / 1.307 GB, free: 25.33 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001731/0.3667, allocations: 1.002 MB / 1.308 GB, free: 24.3 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.801e-05/0.3667, allocations: 3.938 kB / 1.308 GB, free: 24.29 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.786e-05/0.3668, allocations: 32 kB / 1.308 GB, free: 24.26 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.422e-05/0.3668, allocations: 23.98 kB / 1.308 GB, free: 24.24 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002272/0.3691, allocations: 0.9446 MB / 1.309 GB, free: 23.29 MB / 0.823 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.004774/0.3738, allocations: 4.66 MB / 1.314 GB, free: 18.29 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003642/0.3775, allocations: 1.004 MB / 1.315 GB, free: 17.27 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009299/0.3785, allocations: 409.9 kB / 1.315 GB, free: 16.87 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006839/0.3792, allocations: 1.013 MB / 1.316 GB, free: 15.63 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.504e-05/0.3792, allocations: 39 kB / 1.316 GB, free: 15.59 MB / 0.823 GB Notification: Performance of pre-optimization done (n=53): time 2.565e-06/0.3792, allocations: 0 / 1.316 GB, free: 15.59 MB / 0.823 GB Notification: Performance of matching and sorting (n=53): time 0.007304/0.3865, allocations: 1.951 MB / 1.318 GB, free: 13.61 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.411e-05/0.3866, allocations: 55.84 kB / 1.318 GB, free: 13.54 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009923/0.3876, allocations: 0.9396 MB / 1.319 GB, free: 12.58 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 6.045e-05/0.3876, allocations: 41.7 kB / 1.319 GB, free: 12.54 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000268/0.3879, allocations: 0.5041 MB / 1.32 GB, free: 12.03 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001426/0.3881, allocations: 189.3 kB / 1.32 GB, free: 11.84 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001911/0.3883, allocations: 130.1 kB / 1.32 GB, free: 11.71 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 5.933e-05/0.3883, allocations: 326 kB / 1.32 GB, free: 11.38 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009294/0.3893, allocations: 362.8 kB / 1.321 GB, free: 11.02 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009947/0.3903, allocations: 0.5119 MB / 1.321 GB, free: 10.45 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001765/0.392, allocations: 0.7657 MB / 1.322 GB, free: 9.652 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3921, allocations: 0 / 1.322 GB, free: 9.652 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.0026/0.3947, allocations: 1.076 MB / 1.323 GB, free: 8.562 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.663e-05/0.3947, allocations: 5.562 kB / 1.323 GB, free: 8.559 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.464e-06/0.3947, allocations: 4 kB / 1.323 GB, free: 8.555 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001144/0.3959, allocations: 308.9 kB / 1.323 GB, free: 8.25 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005666/0.3964, allocations: 135.8 kB / 1.323 GB, free: 8.117 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001325/0.3978, allocations: 0.9172 MB / 1.324 GB, free: 7.176 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001128/0.3989, allocations: 155.2 kB / 1.324 GB, free: 7.023 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.668e-05/0.399, allocations: 35.97 kB / 1.324 GB, free: 6.988 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001209/0.4002, allocations: 0.5556 MB / 1.325 GB, free: 6.43 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00106/0.4013, allocations: 0.5069 MB / 1.326 GB, free: 5.863 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001791/0.4031, allocations: 0.7541 MB / 1.326 GB, free: 5.074 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.304e-06/0.4031, allocations: 0 / 1.326 GB, free: 5.074 MB / 0.823 GB Notification: Performance of matching and sorting (n=69) (initialization_lambda0): time 0.002571/0.4057, allocations: 1.053 MB / 1.327 GB, free: 4.012 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.4057, allocations: 8 kB / 1.327 GB, free: 4.004 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.4057, allocations: 4 kB / 1.327 GB, free: 4 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009923/0.4067, allocations: 300.9 kB / 1.328 GB, free: 3.703 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005641/0.4073, allocations: 135.8 kB / 1.328 GB, free: 3.57 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001185/0.4085, allocations: 0.91 MB / 1.329 GB, free: 2.637 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001124/0.4096, allocations: 147.5 kB / 1.329 GB, free: 2.492 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.096e-05/0.4097, allocations: 31.92 kB / 1.329 GB, free: 2.461 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002004/0.4099, allocations: 212.8 kB / 1.329 GB, free: 2.246 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001519/0.41, allocations: 110.6 kB / 1.329 GB, free: 2.137 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002796/0.4128, allocations: 1.155 MB / 1.33 GB, free: 0.9609 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.338e-05/0.4129, allocations: 4 kB / 1.33 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.56e-06/0.4129, allocations: 0 / 1.33 GB, free: 0.957 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.4129, allocations: 3.984 kB / 1.33 GB, free: 0.9531 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004137/0.417, allocations: 2.264 MB / 1.332 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.554e-06/0.4171, allocations: 3.938 kB / 1.332 GB, free: 14.61 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005298/0.4176, allocations: 99.84 kB / 1.333 GB, free: 14.51 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001011/0.4186, allocations: 308.8 kB / 1.333 GB, free: 14.2 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.995e-05/0.4187, allocations: 23.98 kB / 1.333 GB, free: 14.18 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001413/0.4201, allocations: 0.9434 MB / 1.334 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/0.4201, allocations: 3.938 kB / 1.334 GB, free: 13.21 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005155/0.4253, allocations: 2.53 MB / 1.336 GB, free: 10.59 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004587/0.4257, allocations: 275.5 kB / 1.337 GB, free: 10.3 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001171/0.4259, allocations: 27.92 kB / 1.337 GB, free: 10.28 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008993/0.4268, allocations: 115.7 kB / 1.337 GB, free: 10.16 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.205e-05/0.4269, allocations: 36.33 kB / 1.337 GB, free: 10.13 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.569e-05/0.4269, allocations: 27.92 kB / 1.337 GB, free: 10.1 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0008327/0.4278, allocations: 0.6637 MB / 1.337 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.8e-07/0.4278, allocations: 0 / 1.337 GB, free: 9.43 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.001576/0.4294, allocations: 0.5848 MB / 1.338 GB, free: 8.844 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008358/0.4302, allocations: 374.1 kB / 1.338 GB, free: 8.48 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.003726/0.4339, allocations: 1.311 MB / 1.34 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.434, allocations: 0 / 1.34 GB, free: 7.172 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.001213/0.4352, allocations: 464.8 kB / 1.34 GB, free: 6.719 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002375/0.4376, allocations: 0.4897 MB / 1.34 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003972/0.4416, allocations: 2.655 MB / 1.343 GB, free: 3.516 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005624/0.4421, allocations: 1.086 MB / 1.344 GB, free: 2.402 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.000923/0.4431, allocations: 238.2 kB / 1.344 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002084/0.4433, allocations: 83.41 kB / 1.344 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of SimCode: time 7.91e-07/0.4433, allocations: 0 / 1.344 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of Templates: time 0.0419/0.4852, allocations: 24.41 MB / 1.368 GB, free: 9.93 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.makefile (rm -f Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & ./Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)