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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001588, allocations: 108 kB / 15.61 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001755/0.001755, allocations: 198 kB / 16.53 MB, free: 6.668 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.438/1.438, allocations: 205.1 MB / 222.4 MB, free: 4.602 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.59/1.59, allocations: 251.7 MB / 0.5092 GB, free: 3.09 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.001477/0.001477, allocations: 71.89 kB / 0.6223 GB, free: 1.48 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5067/0.5082, allocations: 104.7 MB / 0.7245 GB, free: 12.91 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Examples.Performance.Example4): time 0.7026/1.211, allocations: 237.9 MB / 0.9568 GB, free: 1.52 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.02108/1.232, allocations: 15.8 MB / 0.9723 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004082/1.236, allocations: 60.09 kB / 0.9723 GB, free: 1.262 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003988/1.24, allocations: 1.046 MB / 0.9734 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01118/1.251, allocations: 3.188 MB / 0.9765 GB, free: 1.109 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005669/1.257, allocations: 1.665 MB / 0.9781 GB, free: 1.055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00702/1.264, allocations: 3.433 MB / 0.9814 GB, free: 1.051 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002769/1.267, allocations: 1.296 MB / 0.9827 GB, free: 0.8945 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007311/1.274, allocations: 2.276 MB / 0.9849 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003177/1.277, allocations: 1.153 MB / 0.9861 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.000384/1.278, allocations: 116.9 kB / 0.9862 GB, free: 0.5195 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008414/1.286, allocations: 3.098 MB / 0.9892 GB, free: 496 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001285/1.288, allocations: 483.6 kB / 0.9897 GB, free: 428 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002348/1.29, allocations: 0.8048 MB / 0.9904 GB, free: 188 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009753/1.3, allocations: 2.939 MB / 0.9933 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 6.953e-06/1.3, allocations: 0 / 0.9933 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of FrontEnd: time 4.198e-06/1.3, allocations: 3.406 kB / 0.9933 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 0.0001125/1.3, allocations: 0 / 0.9933 GB, free: 15.81 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: 251 * Number of variables: 251 Notification: Performance of Generate backend data structure: time 0.006695/1.307, allocations: 2.014 MB / 0.9953 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/1.307, allocations: 8.281 kB / 0.9953 GB, free: 14.75 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00331/1.31, allocations: 491.5 kB / 0.9958 GB, free: 14.64 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003112/1.313, allocations: 1.108 MB / 0.9968 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0009525/1.314, allocations: 246.1 kB / 0.9971 GB, free: 13.96 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002745/1.314, allocations: 98.41 kB / 0.9972 GB, free: 13.93 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003185/1.318, allocations: 1.363 MB / 0.9985 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.129e-05/1.318, allocations: 8.531 kB / 0.9985 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001429/1.318, allocations: 45.41 kB / 0.9986 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.162e-05/1.318, allocations: 45.48 kB / 0.9986 GB, free: 13.18 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003098/1.321, allocations: 1.074 MB / 0.9996 GB, free: 12.86 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.01003/1.331, allocations: 7.522 MB / 1.007 GB, free: 6.301 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001867/1.333, allocations: 0.5677 MB / 1.008 GB, free: 6.031 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007357/1.334, allocations: 272.5 kB / 1.008 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004096/1.334, allocations: 286.3 kB / 1.008 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.525e-05/1.334, allocations: 37.38 kB / 1.008 GB, free: 5.562 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=33): time 2.324e-06/1.334, allocations: 4 kB / 1.008 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of matching and sorting (n=33): time 0.002879/1.337, allocations: 0.8632 MB / 1.009 GB, free: 5.141 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.138e-05/1.337, allocations: 53.84 kB / 1.009 GB, free: 5.078 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00266/1.34, allocations: 1.4 MB / 1.01 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001014/1.34, allocations: 34.45 kB / 1.01 GB, free: 4.281 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006163/1.341, allocations: 0.6953 MB / 1.011 GB, free: 3.668 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001347/1.341, allocations: 130.2 kB / 1.011 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003075/1.341, allocations: 168.5 kB / 1.011 GB, free: 3.457 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000122/1.341, allocations: 337.8 kB / 1.012 GB, free: 3.129 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009455/1.342, allocations: 338.4 kB / 1.012 GB, free: 2.965 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001265/1.343, allocations: 0.7265 MB / 1.013 GB, free: 2.277 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001921/1.345, allocations: 0.9702 MB / 1.014 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.143e-05/1.345, allocations: 2.625 kB / 1.014 GB, free: 1.535 MB / 0.7325 GB Notification: Performance of matching and sorting (n=91) (initialization): time 0.002786/1.348, allocations: 1.088 MB / 1.015 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.909e-05/1.348, allocations: 11.56 kB / 1.015 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.02e-05/1.348, allocations: 10.97 kB / 1.015 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.731e-05/1.348, allocations: 16.88 kB / 1.015 GB, free: 1.062 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008976/1.349, allocations: 223.2 kB / 1.015 GB, free: 1.012 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.645e-05/1.349, allocations: 25.42 kB / 1.015 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001651/1.351, allocations: 195.1 kB / 1.015 GB, free: 0.8984 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.891e-05/1.351, allocations: 38.38 kB / 1.015 GB, free: 0.8945 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001425/1.352, allocations: 0.5899 MB / 1.016 GB, free: 0.5508 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001212/1.354, allocations: 0.7219 MB / 1.017 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001888/1.355, allocations: 0.9654 MB / 1.017 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.171e-05/1.355, allocations: 5.219 kB / 1.017 GB, free: 15.12 MB / 0.7481 GB Notification: Performance of matching and sorting (n=91) (initialization_lambda0): time 0.002719/1.358, allocations: 1.091 MB / 1.019 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.892e-05/1.358, allocations: 9.75 kB / 1.019 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.677e-05/1.358, allocations: 11.19 kB / 1.019 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/1.358, allocations: 16.81 kB / 1.019 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009/1.359, allocations: 221.8 kB / 1.019 GB, free: 14.59 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.358e-05/1.359, allocations: 25.14 kB / 1.019 GB, free: 14.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001643/1.361, allocations: 147.4 kB / 1.019 GB, free: 14.42 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.996e-05/1.361, allocations: 36.19 kB / 1.019 GB, free: 14.39 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (91): * Single equations (assignments): 91 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003405/1.361, allocations: 252.8 kB / 1.019 GB, free: 14.14 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004259/1.362, allocations: 138.2 kB / 1.019 GB, free: 14.01 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001941/1.364, allocations: 0.6589 MB / 1.02 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/1.364, allocations: 4 kB / 1.02 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.124e-06/1.364, allocations: 4 kB / 1.02 GB, free: 13.33 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.253e-06/1.364, allocations: 3.984 kB / 1.02 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004333/1.368, allocations: 1.921 MB / 1.022 GB, free: 11.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.113e-05/1.368, allocations: 4 kB / 1.022 GB, free: 11.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005308/1.369, allocations: 94.7 kB / 1.022 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.666e-06/1.369, allocations: 6.531 kB / 1.022 GB, free: 11.23 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.109e-05/1.369, allocations: 15.94 kB / 1.022 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.047e-06/1.369, allocations: 7.984 kB / 1.022 GB, free: 11.21 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.552e-06/1.369, allocations: 6.531 kB / 1.022 GB, free: 11.2 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00179/1.371, allocations: 0.8266 MB / 1.023 GB, free: 10.32 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007403/1.371, allocations: 299.1 kB / 1.023 GB, free: 10 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000354/1.372, allocations: 8 kB / 1.023 GB, free: 9.996 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001229/1.373, allocations: 75.92 kB / 1.023 GB, free: 9.922 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/1.373, allocations: 34.52 kB / 1.023 GB, free: 9.891 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.606e-05/1.373, allocations: 23.98 kB / 1.023 GB, free: 9.867 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00179/1.375, allocations: 1.009 MB / 1.024 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of sort global known variables: time 3.41e-07/1.375, allocations: 0 / 1.024 GB, free: 8.863 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.002274/1.377, allocations: 0.5695 MB / 1.025 GB, free: 8.293 MB / 0.7481 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006886/1.378, allocations: 265.7 kB / 1.025 GB, free: 8.043 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.003258/1.381, allocations: 1.191 MB / 1.026 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.207e-06/1.381, allocations: 0 / 1.026 GB, free: 6.93 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0007168/1.382, allocations: 264.6 kB / 1.026 GB, free: 6.688 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003785/1.386, allocations: 0.7457 MB / 1.027 GB, free: 5.949 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005397/1.391, allocations: 2.282 MB / 1.029 GB, free: 3.602 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009797/1.392, allocations: 1.178 MB / 1.031 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001765/1.394, allocations: 391.8 kB / 1.031 GB, free: 2.008 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002862/1.394, allocations: 99.42 kB / 1.031 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of SimCode: time 4.51e-07/1.394, allocations: 0 / 1.031 GB, free: 1.91 MB / 0.7481 GB Notification: Performance of Templates: time 0.04662/1.441, allocations: 24.91 MB / 1.055 GB, free: 9.43 MB / 0.7794 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)