Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.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 1.6.0+build.1/package.mo", uses=false) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") translateModel(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00105/0.00105, allocations: 97.64 kB / 15.36 MB, free: 0.7344 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.009875/0.009875, allocations: 170.1 kB / 16.27 MB, free: 6.652 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.778/1.778, allocations: 205.4 MB / 222.4 MB, free: 5.789 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.6934/0.6934, allocations: 95.62 MB / 366.4 MB, free: 10.29 MB / 302.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: Buildings requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0006554/0.0006555, allocations: 16 kB / 447.5 MB, free: 9.016 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4392/0.4399, allocations: 70.33 MB / 0.5057 GB, free: 16.33 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions): time 0.001355/0.4413, allocations: 1.006 MB / 0.5067 GB, free: 15.32 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001226/0.4425, allocations: 0.6973 MB / 0.5073 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.869e-05/0.4425, allocations: 0 / 0.5073 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 2.358e-05/0.4426, allocations: 7.938 kB / 0.5073 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.473e-05/0.4426, allocations: 11.91 kB / 0.5074 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005036/0.4431, allocations: 175.6 kB / 0.5075 GB, free: 14.42 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 8.069e-05/0.4432, allocations: 27.86 kB / 0.5075 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.16e-05/0.4433, allocations: 4 kB / 0.5076 GB, free: 14.39 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.244e-05/0.4433, allocations: 11.94 kB / 0.5076 GB, free: 14.38 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.225e-05/0.4434, allocations: 15.92 kB / 0.5076 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.214e-05/0.4434, allocations: 0 / 0.5076 GB, free: 14.36 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003582/0.4438, allocations: 287.6 kB / 0.5079 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.4438, allocations: 0 / 0.5079 GB, free: 14.08 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.252e-05/0.4438, allocations: 37.64 kB / 0.5079 GB, free: 14.04 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003089/0.4442, allocations: 217.5 kB / 0.5081 GB, free: 13.83 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/0.4442, allocations: 4 kB / 0.5081 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.162e-06/0.4442, allocations: 0 / 0.5081 GB, free: 13.82 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.801e-06/0.4442, allocations: 0 / 0.5081 GB, free: 13.82 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005608/0.4448, allocations: 379.4 kB / 0.5085 GB, free: 13.41 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.137e-05/0.4448, allocations: 15.98 kB / 0.5085 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.418e-05/0.4449, allocations: 4.844 kB / 0.5085 GB, free: 13.39 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.4451, allocations: 172.3 kB / 0.5086 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.846e-05/0.4451, allocations: 4.312 kB / 0.5087 GB, free: 13.18 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.4451, allocations: 4.375 kB / 0.5087 GB, free: 13.17 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004307/0.4456, allocations: 74.16 kB / 0.5087 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.4456, allocations: 7.938 kB / 0.5087 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4456, allocations: 0 / 0.5087 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.207e-05/0.4456, allocations: 0 / 0.5087 GB, free: 13.09 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002458/0.4459, allocations: 31.97 kB / 0.5088 GB, free: 13.05 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004149/0.4463, allocations: 264.8 kB / 0.509 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004005/0.4467, allocations: 70.48 kB / 0.5091 GB, free: 12.67 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.768e-05/0.4468, allocations: 20.91 kB / 0.5091 GB, free: 12.64 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003221/0.4471, allocations: 198.2 kB / 0.5093 GB, free: 12.41 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.31e-05/0.4472, allocations: 34.56 kB / 0.5093 GB, free: 12.37 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.292e-06/0.4472, allocations: 0 / 0.5093 GB, free: 12.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006913/0.4479, allocations: 207.6 kB / 0.5095 GB, free: 12.14 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.4479, allocations: 55.39 kB / 0.5096 GB, free: 12.07 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.221e-05/0.448, allocations: 105.9 kB / 0.5097 GB, free: 11.96 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.286e-05/0.448, allocations: 29.64 kB / 0.5097 GB, free: 11.93 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.835e-05/0.4481, allocations: 92.03 kB / 0.5098 GB, free: 11.83 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.231e-05/0.4481, allocations: 23.75 kB / 0.5098 GB, free: 11.81 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.064e-05/0.4481, allocations: 9.719 kB / 0.5098 GB, free: 11.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 6.469e-05/0.4482, allocations: 326.8 kB / 0.5101 GB, free: 11.46 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.111e-05/0.4482, allocations: 4 kB / 0.5101 GB, free: 11.46 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.126e-05/0.4482, allocations: 26.58 kB / 0.5102 GB, free: 11.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.599e-05/0.4483, allocations: 50.67 kB / 0.5102 GB, free: 11.37 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.4483, allocations: 0 / 0.5102 GB, free: 11.37 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001162/0.4484, allocations: 78.48 kB / 0.5103 GB, free: 11.28 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.564e-05/0.4485, allocations: 8 kB / 0.5103 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.43e-06/0.4485, allocations: 0 / 0.5103 GB, free: 11.27 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001091/0.4496, allocations: 160.7 kB / 0.5105 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.716e-05/0.4496, allocations: 4.375 kB / 0.5105 GB, free: 11.11 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000346/0.45, allocations: 0.5522 MB / 0.511 GB, free: 10.53 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.793e-05/0.45, allocations: 8.031 kB / 0.511 GB, free: 10.52 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.793e-06/0.45, allocations: 4 kB / 0.511 GB, free: 10.52 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * 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 (4): * Single equations (assignments): 3 * 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,2)} Notification: Performance of prepare postOptimizeDAE: time 8.196e-05/0.4501, allocations: 113.8 kB / 0.5111 GB, free: 10.4 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.445e-05/0.4501, allocations: 4 kB / 0.5111 GB, free: 10.39 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001928/0.4503, allocations: 86.44 kB / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.316e-06/0.4504, allocations: 4 kB / 0.5112 GB, free: 10.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.4504, allocations: 3.938 kB / 0.5112 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.4504, allocations: 0 / 0.5112 GB, free: 10.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.4505, allocations: 161.6 kB / 0.5114 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.4505, allocations: 0 / 0.5114 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.276e-05/0.4505, allocations: 0 / 0.5114 GB, free: 10.09 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009372/0.4515, allocations: 168.6 kB / 0.5115 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.4515, allocations: 7.938 kB / 0.5115 GB, free: 9.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002695/0.4518, allocations: 0.5368 MB / 0.5121 GB, free: 9.348 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4518, allocations: 4.031 kB / 0.5121 GB, free: 9.344 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001329/0.4519, allocations: 164.3 kB / 0.5122 GB, free: 9.164 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.736e-05/0.452, allocations: 88.95 kB / 0.5123 GB, free: 9.059 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.578e-05/0.452, allocations: 4 kB / 0.5123 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.09e-05/0.4521, allocations: 240 / 0.5123 GB, free: 9.055 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.534e-05/0.4521, allocations: 8.062 kB / 0.5123 GB, free: 9.047 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.298e-06/0.4521, allocations: 0 / 0.5123 GB, free: 9.047 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.826e-05/0.4521, allocations: 83.27 kB / 0.5124 GB, free: 8.965 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.062e-06/0.4521, allocations: 0 / 0.5124 GB, free: 8.965 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.4524, allocations: 47.94 kB / 0.5124 GB, free: 8.918 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (2): * Single equations (assignments): 1 * 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,2)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002291/0.4526, allocations: 139.2 kB / 0.5126 GB, free: 8.77 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002136/0.4529, allocations: 43.86 kB / 0.5126 GB, free: 8.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4529, allocations: 4.125 kB / 0.5126 GB, free: 8.723 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.93e-05/0.453, allocations: 15.98 kB / 0.5126 GB, free: 8.707 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002173/0.4532, allocations: 10.95 kB / 0.5126 GB, free: 8.699 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003429/0.4536, allocations: 145.2 kB / 0.5128 GB, free: 8.531 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001623/0.4537, allocations: 0.6848 MB / 0.5134 GB, free: 7.82 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.517e-05/0.4538, allocations: 3.938 kB / 0.5135 GB, free: 7.816 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.128e-05/0.4538, allocations: 7.438 kB / 0.5135 GB, free: 7.809 MB / 382.1 MB Notification: Performance of SimCode: time 3.81e-07/0.4538, allocations: 0 / 0.5135 GB, free: 7.809 MB / 382.1 MB Notification: Performance of Templates: time 0.003511/0.4573, allocations: 1.296 MB / 0.5147 GB, free: 6.516 MB / 382.1 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.makefile Environment - environmentSimulation: (rm -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe >> ../files/Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.sim & ./Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.pipe 2>&1) Environment - environmentSimulation: