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.00132/0.00132, allocations: 92.31 kB / 15.06 MB, free: 1.098 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.001485/0.001485, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.855/1.855, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.6756/0.6756, allocations: 95.63 MB / 366 MB, free: 10.33 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.0006061/0.0006063, allocations: 12 kB / 446.9 MB, free: 9.32 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4719/0.4726, allocations: 70.33 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions): time 0.001607/0.4742, allocations: 1.01 MB / 0.5061 GB, free: 15.46 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001023/0.4753, allocations: 0.612 MB / 0.5067 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.612e-05/0.4753, allocations: 0 / 0.5067 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.922e-05/0.4754, allocations: 7.938 kB / 0.5067 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 7.005e-05/0.4754, allocations: 7.922 kB / 0.5067 GB, free: 14.83 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005315/0.476, allocations: 179.3 kB / 0.5068 GB, free: 14.66 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 9.154e-05/0.4761, allocations: 23.88 kB / 0.5069 GB, free: 14.63 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.4761, allocations: 7.984 kB / 0.5069 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.284e-05/0.4762, allocations: 11.94 kB / 0.5069 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.77e-05/0.4762, allocations: 19.92 kB / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.4762, allocations: 0 / 0.5069 GB, free: 14.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003491/0.4766, allocations: 259.7 kB / 0.5072 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.26e-05/0.4766, allocations: 3.984 kB / 0.5072 GB, free: 14.34 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.4767, allocations: 33.64 kB / 0.5072 GB, free: 14.3 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000213/0.4769, allocations: 145.7 kB / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.241e-06/0.4769, allocations: 0 / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.4769, allocations: 0 / 0.5073 GB, free: 14.16 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.98e-06/0.4769, allocations: 0 / 0.5073 GB, free: 14.16 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.0004998/0.4774, allocations: 383.2 kB / 0.5077 GB, free: 13.73 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.979e-05/0.4775, allocations: 15.97 kB / 0.5077 GB, free: 13.72 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.494e-05/0.4775, allocations: 3.906 kB / 0.5077 GB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001731/0.4777, allocations: 171 kB / 0.5079 GB, free: 13.51 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.189e-05/0.4777, allocations: 4 kB / 0.5079 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.595e-05/0.4777, allocations: 4 kB / 0.5079 GB, free: 13.5 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003839/0.4781, allocations: 65.66 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.442e-05/0.4782, allocations: 3.938 kB / 0.5079 GB, free: 13.43 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.641e-05/0.4782, allocations: 8 kB / 0.508 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.945e-06/0.4782, allocations: 0 / 0.508 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001965/0.4784, allocations: 39.95 kB / 0.508 GB, free: 13.38 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004133/0.4788, allocations: 256.9 kB / 0.5082 GB, free: 13.08 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003938/0.4792, allocations: 66.59 kB / 0.5083 GB, free: 13 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.134e-05/0.4793, allocations: 24.84 kB / 0.5083 GB, free: 12.98 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002961/0.4796, allocations: 198.1 kB / 0.5085 GB, free: 12.75 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.414e-05/0.4796, allocations: 34.56 kB / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.102e-06/0.4796, allocations: 0 / 0.5085 GB, free: 12.7 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006574/0.4803, allocations: 211.5 kB / 0.5088 GB, free: 12.47 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.476e-05/0.4803, allocations: 51.41 kB / 0.5088 GB, free: 12.41 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.591e-05/0.4804, allocations: 109.8 kB / 0.5089 GB, free: 12.29 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.4804, allocations: 29.7 kB / 0.5089 GB, free: 12.25 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.71e-05/0.4805, allocations: 84.05 kB / 0.509 GB, free: 12.17 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.554e-05/0.4805, allocations: 23.73 kB / 0.509 GB, free: 12.14 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.518e-06/0.4805, allocations: 7.938 kB / 0.509 GB, free: 12.14 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.805e-05/0.4806, allocations: 314.8 kB / 0.5093 GB, free: 11.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.637e-05/0.4807, allocations: 15.88 kB / 0.5094 GB, free: 11.8 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.464e-05/0.4807, allocations: 26.56 kB / 0.5094 GB, free: 11.77 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.278e-05/0.4808, allocations: 12 kB / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.4808, allocations: 0 / 0.5094 GB, free: 11.76 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001192/0.4809, allocations: 86.7 kB / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.4809, allocations: 4 kB / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.4809, allocations: 0 / 0.5095 GB, free: 11.66 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009353/0.4819, allocations: 168.7 kB / 0.5096 GB, free: 11.49 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.078e-05/0.4819, allocations: 7.984 kB / 0.5096 GB, free: 11.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003467/0.4823, allocations: 0.5445 MB / 0.5102 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.681e-05/0.4823, allocations: 3.906 kB / 0.5102 GB, free: 10.91 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.4823, allocations: 4.031 kB / 0.5102 GB, free: 10.91 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 8.273e-05/0.4824, allocations: 113.9 kB / 0.5103 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.186e-05/0.4824, allocations: 0 / 0.5103 GB, free: 10.79 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001998/0.4826, allocations: 90.33 kB / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.4827, allocations: 0 / 0.5104 GB, free: 10.69 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.4827, allocations: 4 kB / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.4827, allocations: 0 / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000143/0.4828, allocations: 161.7 kB / 0.5105 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.363e-06/0.4828, allocations: 0 / 0.5105 GB, free: 10.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.442e-05/0.4829, allocations: 4 kB / 0.5105 GB, free: 10.47 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007731/0.4836, allocations: 164.7 kB / 0.5107 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.958e-06/0.4837, allocations: 0 / 0.5107 GB, free: 10.31 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002723/0.4839, allocations: 0.5522 MB / 0.5112 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.4839, allocations: 0 / 0.5112 GB, free: 9.73 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001303/0.4841, allocations: 168.8 kB / 0.5114 GB, free: 9.547 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.914e-05/0.4841, allocations: 84.95 kB / 0.5115 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.642e-05/0.4841, allocations: 0 / 0.5115 GB, free: 9.445 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.808e-05/0.4842, allocations: 8 kB / 0.5115 GB, free: 9.438 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.426e-05/0.4842, allocations: 3.984 kB / 0.5115 GB, free: 9.434 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.4843, allocations: 0 / 0.5115 GB, free: 9.434 MB / 382.1 MB Notification: Performance of sorting global known variables: time 3.08e-05/0.4843, allocations: 83.28 kB / 0.5116 GB, free: 9.352 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.4843, allocations: 3.938 kB / 0.5116 GB, free: 9.348 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002733/0.4846, allocations: 43.98 kB / 0.5116 GB, free: 9.305 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of Backend phase and start with SimCode phase: time 0.0002592/0.4848, allocations: 135.2 kB / 0.5117 GB, free: 9.16 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002249/0.4851, allocations: 39.97 kB / 0.5118 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.236e-06/0.4851, allocations: 0 / 0.5118 GB, free: 9.121 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.187e-05/0.4852, allocations: 23.98 kB / 0.5118 GB, free: 9.098 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002443/0.4854, allocations: 7.891 kB / 0.5118 GB, free: 9.09 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004299/0.4859, allocations: 145.7 kB / 0.512 GB, free: 8.922 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.4861, allocations: 0.6809 MB / 0.5126 GB, free: 8.215 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.097e-05/0.4861, allocations: 7.922 kB / 0.5126 GB, free: 8.207 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.437e-05/0.4861, allocations: 11.44 kB / 0.5126 GB, free: 8.195 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.4862, allocations: 0 / 0.5126 GB, free: 8.195 MB / 382.1 MB Notification: Performance of Templates: time 0.003899/0.4901, allocations: 1.252 MB / 0.5139 GB, free: 6.941 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: