Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.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.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") translateModel(Buildings.Fluid.Examples.Performance.Example4,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.379/1.379, allocations: 252 MB / 267.6 MB, free: 10.95 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.001035/0.001035, allocations: 183.7 kB / 327.3 MB, free: 2.219 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.645/1.645, allocations: 205.4 MB / 0.5783 GB, free: 20.53 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.0008052/0.0008052, allocations: 89.78 kB / 0.6829 GB, free: 13.34 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003559/0.0003559, allocations: 12.59 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2227/0.2231, allocations: 106.3 MB / 0.9008 GB, free: 64.32 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.8613/1.084, allocations: 217 MB / 1.113 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.02179/1.106, allocations: 14.73 MB / 1.127 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003381/1.11, allocations: 52.25 kB / 1.127 GB, free: 3.27 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.003099/1.113, allocations: 0.657 MB / 1.128 GB, free: 3.262 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.009258/1.122, allocations: 2.252 MB / 1.13 GB, free: 3.16 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.005008/1.127, allocations: 1.258 MB / 1.131 GB, free: 3.102 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.007067/1.134, allocations: 3.963 MB / 1.135 GB, free: 3.094 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002314/1.137, allocations: 0.9345 MB / 1.136 GB, free: 2.965 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005972/1.143, allocations: 1.8 MB / 1.138 GB, free: 2.941 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003042/1.146, allocations: 1.071 MB / 1.139 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0005915/1.146, allocations: 45.56 kB / 1.139 GB, free: 2.938 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006305/1.153, allocations: 1.909 MB / 1.141 GB, free: 2.902 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.001034/1.154, allocations: 397.7 kB / 1.141 GB, free: 2.898 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001366/1.155, allocations: 330.6 kB / 1.141 GB, free: 18.87 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.005351/1.16, allocations: 2.021 MB / 1.143 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 7.203e-06/1.16, allocations: 0 / 1.143 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of FrontEnd: time 2.916e-06/1.161, allocations: 2.531 kB / 1.143 GB, free: 18.51 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 0.0001542/1.161, allocations: 0 / 1.143 GB, free: 18.51 MB / 0.7136 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006715/1.167, allocations: 1.733 MB / 1.145 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.575e-05/1.167, allocations: 9.688 kB / 1.145 GB, free: 17.34 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003588/1.171, allocations: 0.5187 MB / 1.146 GB, free: 17.14 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003508/1.175, allocations: 1.071 MB / 1.147 GB, free: 16.59 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009897/1.176, allocations: 286.8 kB / 1.147 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003722/1.176, allocations: 97.94 kB / 1.147 GB, free: 16.51 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003302/1.179, allocations: 1.329 MB / 1.148 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.909e-05/1.179, allocations: 2.719 kB / 1.148 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001475/1.18, allocations: 44.3 kB / 1.148 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.402e-05/1.18, allocations: 51.38 kB / 1.148 GB, free: 15.98 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002861/1.182, allocations: 1.111 MB / 1.15 GB, free: 15.77 MB / 0.7136 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.01124/1.194, allocations: 6.715 MB / 1.156 GB, free: 10.73 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00179/1.196, allocations: 0.6004 MB / 1.157 GB, free: 10.57 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006681/1.196, allocations: 284 kB / 1.157 GB, free: 10.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000455/1.197, allocations: 287.1 kB / 1.157 GB, free: 10.21 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.861e-05/1.197, allocations: 41.59 kB / 1.157 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=33): time 2.805e-06/1.197, allocations: 0 / 1.157 GB, free: 10.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=33): time 0.002964/1.2, allocations: 0.9022 MB / 1.158 GB, free: 9.906 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.588e-05/1.2, allocations: 58.28 kB / 1.158 GB, free: 9.84 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002504/1.202, allocations: 1.349 MB / 1.16 GB, free: 9.453 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0001147/1.202, allocations: 38.17 kB / 1.16 GB, free: 9.422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006196/1.203, allocations: 0.6857 MB / 1.16 GB, free: 9.102 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/1.203, allocations: 114.4 kB / 1.16 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/1.203, allocations: 12.12 kB / 1.16 GB, free: 9.023 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001666/1.203, allocations: 337 kB / 1.161 GB, free: 8.711 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008786/1.204, allocations: 328.6 kB / 1.161 GB, free: 8.633 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001171/1.206, allocations: 0.6635 MB / 1.162 GB, free: 8.137 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001056/1.207, allocations: 407.2 kB / 1.162 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-05/1.207, allocations: 2.969 kB / 1.162 GB, free: 8.051 MB / 0.7136 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.002854/1.21, allocations: 1.048 MB / 1.163 GB, free: 7.781 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003918/1.21, allocations: 372.5 kB / 1.163 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.354e-05/1.21, allocations: 13.62 kB / 1.163 GB, free: 7.336 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.429e-05/1.21, allocations: 17.72 kB / 1.163 GB, free: 7.332 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009295/1.211, allocations: 204.8 kB / 1.164 GB, free: 7.297 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.491e-05/1.211, allocations: 24.8 kB / 1.164 GB, free: 7.293 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001888/1.213, allocations: 223 kB / 1.164 GB, free: 7.195 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.739e-05/1.213, allocations: 46.53 kB / 1.164 GB, free: 7.188 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 9.368e-06/1.213, allocations: 6.844 kB / 1.164 GB, free: 7.184 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002196/1.215, allocations: 0.8991 MB / 1.165 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.999e-05/1.215, allocations: 9.375 kB / 1.165 GB, free: 7.016 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/1.215, allocations: 20.75 kB / 1.165 GB, free: 7.012 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008121/1.216, allocations: 205.2 kB / 1.165 GB, free: 6.973 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.535e-05/1.216, allocations: 23.66 kB / 1.165 GB, free: 6.969 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001702/1.218, allocations: 212 kB / 1.165 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.656e-05/1.218, allocations: 41.61 kB / 1.165 GB, free: 6.867 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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 (81): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0009818/1.219, allocations: 406 kB / 1.166 GB, free: 6.66 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004338/1.219, allocations: 140.7 kB / 1.166 GB, free: 6.586 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001958/1.221, allocations: 0.6886 MB / 1.166 GB, free: 6.359 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.091e-05/1.221, allocations: 13.03 kB / 1.167 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/1.221, allocations: 0 / 1.167 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/1.221, allocations: 0 / 1.167 GB, free: 6.352 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004564/1.226, allocations: 1.937 MB / 1.168 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/1.226, allocations: 3 kB / 1.168 GB, free: 5.488 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005601/1.227, allocations: 107.2 kB / 1.168 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.483e-05/1.227, allocations: 6.531 kB / 1.169 GB, free: 5.465 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.088e-05/1.227, allocations: 13.33 kB / 1.169 GB, free: 5.461 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.429e-05/1.227, allocations: 18.8 kB / 1.169 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.289e-06/1.227, allocations: 2.969 kB / 1.169 GB, free: 5.453 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001838/1.229, allocations: 0.8397 MB / 1.169 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008503/1.229, allocations: 287.9 kB / 1.17 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003941/1.23, allocations: 8.938 kB / 1.17 GB, free: 4.805 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001277/1.231, allocations: 115.7 kB / 1.17 GB, free: 4.762 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.861e-05/1.231, allocations: 26.91 kB / 1.17 GB, free: 4.754 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.936e-05/1.231, allocations: 20.86 kB / 1.17 GB, free: 4.75 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001767/1.233, allocations: 0.9306 MB / 1.171 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of sort global known variables: time 5.81e-07/1.233, allocations: 0 / 1.171 GB, free: 4.488 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.002761/1.236, allocations: 0.5766 MB / 1.171 GB, free: 4.418 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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 (32): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0007189/1.237, allocations: 268.5 kB / 1.172 GB, free: 4.262 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003086/1.24, allocations: 1.152 MB / 1.173 GB, free: 4.047 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 5.781e-06/1.24, allocations: 4.062 kB / 1.173 GB, free: 4.043 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.000731/1.24, allocations: 277.5 kB / 1.173 GB, free: 3.988 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003786/1.244, allocations: 0.6199 MB / 1.174 GB, free: 3.785 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007224/1.251, allocations: 2.716 MB / 1.176 GB, free: 2.121 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00137/1.253, allocations: 1.17 MB / 1.177 GB, free: 0.9492 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004584/1.253, allocations: 98.03 kB / 1.177 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of SimCode: time 1.483e-06/1.253, allocations: 4.391 kB / 1.177 GB, free: 0.8555 MB / 0.7136 GB Notification: Performance of Templates: time 0.04358/1.297, allocations: 20.64 MB / 1.198 GB, free: 12.64 MB / 0.7448 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Examples.Performance.Example4.pipe 2>&1)