Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006998/0.006998, allocations: 100.1 kB / 15.73 MB, free: 6.008 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.001235/0.001235, allocations: 193.8 kB / 16.67 MB, free: 5.93 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.633/1.633, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.676/1.676, allocations: 251.7 MB / 0.5094 GB, free: 3.043 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.001395/0.001395, allocations: 75.88 kB / 0.7258 GB, free: 8.996 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2817/0.2831, allocations: 104.7 MB / 0.828 GB, free: 192 kB / 0.6387 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06569/0.3488, allocations: 61.21 MB / 0.8878 GB, free: 2.758 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.02067/0.3696, allocations: 11.86 MB / 0.8994 GB, free: 6.871 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003218/0.3729, allocations: 59.62 kB / 0.8995 GB, free: 6.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002514/0.3755, allocations: 0.7104 MB / 0.9001 GB, free: 6.098 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.007935/0.3834, allocations: 2.045 MB / 0.9021 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003989/0.3874, allocations: 1.225 MB / 0.9033 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.701/1.088, allocations: 3.074 MB / 0.9063 GB, free: 21.39 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002529/1.091, allocations: 1.108 MB / 0.9074 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005015/1.096, allocations: 1.344 MB / 0.9087 GB, free: 21.31 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003121/1.099, allocations: 0.9118 MB / 0.9096 GB, free: 21.26 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0003974/1.1, allocations: 116.6 kB / 0.9097 GB, free: 21.26 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004486/1.104, allocations: 1.419 MB / 0.9111 GB, free: 21.26 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005261/1.105, allocations: 294.7 kB / 0.9114 GB, free: 21.21 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001726/1.106, allocations: 0.6951 MB / 0.9121 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006791/1.113, allocations: 2.306 MB / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.167e-06/1.113, allocations: 0.5938 kB / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.697e-06/1.113, allocations: 1.094 kB / 0.9143 GB, free: 20.8 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.377e-05/1.113, allocations: 1.969 kB / 0.9143 GB, free: 20.8 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.005203/1.118, allocations: 1.727 MB / 0.916 GB, free: 19.87 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 6.045e-05/1.119, allocations: 13 kB / 0.916 GB, free: 19.87 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002278/1.121, allocations: 410.9 kB / 0.9164 GB, free: 19.79 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002801/1.124, allocations: 1.173 MB / 0.9176 GB, free: 19.41 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001302/1.124, allocations: 64.86 kB / 0.9176 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002753/1.124, allocations: 82.69 kB / 0.9177 GB, free: 19.4 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003554/1.128, allocations: 0.9943 MB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.33e-05/1.128, allocations: 1.531 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001162/1.128, allocations: 29.5 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.847e-05/1.128, allocations: 19.55 kB / 0.9187 GB, free: 19.21 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003966/1.132, allocations: 0.8646 MB / 0.9196 GB, free: 19.19 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.01623/1.148, allocations: 4.964 MB / 0.9244 GB, free: 16.41 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005275/1.153, allocations: 0.8218 MB / 0.9252 GB, free: 16.37 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001157/1.155, allocations: 312.3 kB / 0.9255 GB, free: 16.36 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000801/1.156, allocations: 0.9076 MB / 0.9264 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.682e-05/1.156, allocations: 41.72 kB / 0.9265 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=47): time 4.799e-06/1.156, allocations: 0 / 0.9265 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of matching and sorting (n=47): time 0.01216/1.168, allocations: 1.746 MB / 0.9282 GB, free: 15.02 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.122e-05/1.168, allocations: 55.88 kB / 0.9282 GB, free: 14.96 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004598/1.172, allocations: 1.083 MB / 0.9293 GB, free: 14.8 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002074/1.173, allocations: 36.36 kB / 0.9293 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008671/1.174, allocations: 0.5343 MB / 0.9298 GB, free: 14.58 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003262/1.174, allocations: 161.3 kB / 0.93 GB, free: 14.48 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006384/1.175, allocations: 143 kB / 0.9301 GB, free: 14.46 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001202/1.175, allocations: 330.1 kB / 0.9304 GB, free: 14.15 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00179/1.177, allocations: 323.2 kB / 0.9307 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002186/1.179, allocations: 0.5273 MB / 0.9313 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003272/1.182, allocations: 0.726 MB / 0.932 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.866e-05/1.182, allocations: 2.906 kB / 0.932 GB, free: 13.7 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization): time 0.00566/1.188, allocations: 1.039 MB / 0.933 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.555e-05/1.188, allocations: 7.094 kB / 0.933 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.42e-05/1.188, allocations: 5.109 kB / 0.933 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002351/1.19, allocations: 303.8 kB / 0.9333 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001175/1.191, allocations: 135.4 kB / 0.9334 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002528/1.194, allocations: 0.8973 MB / 0.9343 GB, free: 13.01 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002887/1.197, allocations: 153.1 kB / 0.9344 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002192/1.197, allocations: 40.78 kB / 0.9345 GB, free: 12.97 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002619/1.2, allocations: 0.5226 MB / 0.935 GB, free: 12.88 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002023/1.202, allocations: 0.5315 MB / 0.9355 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003177/1.205, allocations: 0.7098 MB / 0.9362 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.845e-05/1.205, allocations: 3.422 kB / 0.9362 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of matching and sorting (n=75) (initialization_lambda0): time 0.005686/1.211, allocations: 1.027 MB / 0.9372 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/1.211, allocations: 8.328 kB / 0.9372 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.814e-05/1.211, allocations: 5.281 kB / 0.9372 GB, free: 12.32 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00205/1.213, allocations: 300.9 kB / 0.9375 GB, free: 12.3 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001145/1.214, allocations: 138.1 kB / 0.9376 GB, free: 12.29 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002352/1.216, allocations: 0.8948 MB / 0.9385 GB, free: 11.75 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002821/1.219, allocations: 131.2 kB / 0.9386 GB, free: 11.73 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001694/1.22, allocations: 32.66 kB / 0.9387 GB, free: 11.73 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (61): * Single equations (assignments): 60 * 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.0004592/1.22, allocations: 226.9 kB / 0.9389 GB, free: 11.55 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007353/1.221, allocations: 116.3 kB / 0.939 GB, free: 11.49 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00486/1.226, allocations: 0.9709 MB / 0.9399 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.263e-05/1.226, allocations: 10.8 kB / 0.9399 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.415e-05/1.226, allocations: 3.938 kB / 0.94 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.248e-05/1.226, allocations: 6.953 kB / 0.94 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01286/1.239, allocations: 2.346 MB / 0.9422 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.9e-05/1.239, allocations: 2.344 kB / 0.9422 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006331/1.239, allocations: 76.2 kB / 0.9423 GB, free: 10.92 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00189/1.241, allocations: 288.3 kB / 0.9426 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.066e-05/1.241, allocations: 13.48 kB / 0.9426 GB, free: 10.91 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002598/1.244, allocations: 0.9258 MB / 0.9435 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.634e-05/1.244, allocations: 2.688 kB / 0.9435 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.007554/1.252, allocations: 1.185 MB / 0.9447 GB, free: 10.07 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001853/1.253, allocations: 271.7 kB / 0.9449 GB, free: 9.906 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009667/1.254, allocations: 15.09 kB / 0.9449 GB, free: 9.902 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002042/1.257, allocations: 72.83 kB / 0.945 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001708/1.257, allocations: 32.86 kB / 0.945 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000143/1.257, allocations: 26.98 kB / 0.9451 GB, free: 9.898 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.003181/1.26, allocations: 0.7631 MB / 0.9458 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of sort global known variables: time 6.81e-07/1.26, allocations: 0 / 0.9458 GB, free: 9.785 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.005191/1.265, allocations: 0.5584 MB / 0.9464 GB, free: 9.719 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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.001792/1.267, allocations: 383.1 kB / 0.9467 GB, free: 9.559 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.006305/1.273, allocations: 1.169 MB / 0.9479 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 8.125e-06/1.273, allocations: 0 / 0.9479 GB, free: 9.523 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001764/1.275, allocations: 360.9 kB / 0.9482 GB, free: 9.52 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005196/1.28, allocations: 0.5352 MB / 0.9487 GB, free: 9.418 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009374/1.29, allocations: 2.046 MB / 0.9507 GB, free: 8.531 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009348/1.291, allocations: 1.072 MB / 0.9518 GB, free: 7.801 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001993/1.293, allocations: 226.9 kB / 0.952 GB, free: 7.742 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004526/1.293, allocations: 80.48 kB / 0.9521 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of SimCode: time 1.623e-06/1.293, allocations: 0 / 0.9521 GB, free: 7.734 MB / 0.7169 GB Notification: Performance of Templates: time 0.07303/1.366, allocations: 25.62 MB / 0.9771 GB, free: 8.254 MB / 0.7325 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)