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.001116/0.001117, allocations: 99 kB / 15.05 MB, free: 1.105 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.001086/0.001086, allocations: 177.3 kB / 15.94 MB, free: 228 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.375/1.375, allocations: 205.4 MB / 222.1 MB, free: 5.684 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.6033/0.6033, allocations: 95.58 MB / 366 MB, free: 10.41 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.0006338/0.000634, allocations: 16 kB / 446.8 MB, free: 9.406 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3038/0.3044, allocations: 70.35 MB / 0.505 GB, free: 16.62 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions): time 0.001056/0.3055, allocations: 0.9836 MB / 0.506 GB, free: 15.63 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008396/0.3064, allocations: 0.6106 MB / 0.5066 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.687e-05/0.3064, allocations: 0 / 0.5066 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.389e-05/0.3065, allocations: 0 / 0.5066 GB, free: 15.02 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 5.329e-05/0.3065, allocations: 15.92 kB / 0.5066 GB, free: 15 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004712/0.307, allocations: 163.5 kB / 0.5067 GB, free: 14.84 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 6.903e-05/0.3071, allocations: 23.97 kB / 0.5068 GB, free: 14.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.345e-05/0.3071, allocations: 7.984 kB / 0.5068 GB, free: 14.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 1.996e-05/0.3071, allocations: 11.92 kB / 0.5068 GB, free: 14.8 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.21e-05/0.3072, allocations: 15.94 kB / 0.5068 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 8.957e-06/0.3072, allocations: 0 / 0.5068 GB, free: 14.78 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001962/0.3074, allocations: 163.7 kB / 0.507 GB, free: 14.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.126e-05/0.3074, allocations: 8 kB / 0.507 GB, free: 14.61 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 1.862e-05/0.3075, allocations: 29.64 kB / 0.507 GB, free: 14.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001265/0.3076, allocations: 93.78 kB / 0.5071 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.354e-06/0.3076, allocations: 0 / 0.5071 GB, free: 14.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.633e-06/0.3076, allocations: 0 / 0.5071 GB, free: 14.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.647e-06/0.3076, allocations: 4 kB / 0.5071 GB, free: 14.48 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.0003125/0.3079, allocations: 371.2 kB / 0.5074 GB, free: 14.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.253e-05/0.308, allocations: 11.98 kB / 0.5074 GB, free: 14.06 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.058e-05/0.308, allocations: 7.906 kB / 0.5075 GB, free: 14.05 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.3081, allocations: 167 kB / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.3082, allocations: 4 kB / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.3082, allocations: 0 / 0.5076 GB, free: 13.85 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002985/0.3085, allocations: 73.66 kB / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.3085, allocations: 0 / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.3085, allocations: 0 / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.698e-06/0.3085, allocations: 0 / 0.5077 GB, free: 13.77 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002111/0.3087, allocations: 39.91 kB / 0.5077 GB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.309, allocations: 264.9 kB / 0.508 GB, free: 13.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003252/0.3094, allocations: 66.61 kB / 0.508 GB, free: 13.35 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002752/0.3097, allocations: 198.2 kB / 0.5082 GB, free: 13.12 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.479e-05/0.3097, allocations: 30.56 kB / 0.5083 GB, free: 13.08 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 1.333e-06/0.3097, allocations: 7.938 kB / 0.5083 GB, free: 13.07 MB / 382.1 MB Notification: Performance of matching and sorting (n=4): time 0.0006344/0.3103, allocations: 211.5 kB / 0.5085 GB, free: 12.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.485e-05/0.3104, allocations: 51.41 kB / 0.5085 GB, free: 12.77 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.843e-05/0.3104, allocations: 105.8 kB / 0.5086 GB, free: 12.66 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 9.567e-06/0.3104, allocations: 25.7 kB / 0.5086 GB, free: 12.63 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.532e-05/0.3105, allocations: 91.92 kB / 0.5087 GB, free: 12.54 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.004e-05/0.3105, allocations: 23.8 kB / 0.5088 GB, free: 12.51 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.3105, allocations: 0 / 0.5088 GB, free: 12.51 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 4.72e-05/0.3106, allocations: 318.8 kB / 0.5091 GB, free: 12.19 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.036e-05/0.3106, allocations: 4 kB / 0.5091 GB, free: 12.19 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.844e-05/0.3106, allocations: 34.5 kB / 0.5091 GB, free: 12.14 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.819e-05/0.3107, allocations: 12.19 kB / 0.5091 GB, free: 12.13 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3107, allocations: 0 / 0.5091 GB, free: 12.13 MB / 382.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001124/0.3108, allocations: 86.45 kB / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.447e-05/0.3108, allocations: 4 kB / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.3108, allocations: 0 / 0.5092 GB, free: 12.04 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001008/0.3118, allocations: 164.7 kB / 0.5094 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.835e-05/0.3119, allocations: 4 kB / 0.5094 GB, free: 11.87 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002636/0.3121, allocations: 0.5445 MB / 0.5099 GB, free: 11.3 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.832e-05/0.3122, allocations: 7.891 kB / 0.5099 GB, free: 11.29 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/0.3122, allocations: 4.031 kB / 0.5099 GB, free: 11.29 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 5.688e-05/0.3123, allocations: 113.9 kB / 0.51 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.3123, allocations: 4 kB / 0.51 GB, free: 11.16 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001757/0.3125, allocations: 90.27 kB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.3125, allocations: 0 / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.849e-06/0.3125, allocations: 4 kB / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.3125, allocations: 384 / 0.5101 GB, free: 11.06 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000139/0.3127, allocations: 165.6 kB / 0.5103 GB, free: 10.85 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.265e-06/0.3127, allocations: 4 kB / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.656e-05/0.3127, allocations: 8 kB / 0.5103 GB, free: 10.84 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009175/0.3136, allocations: 160.7 kB / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.303e-06/0.3136, allocations: 0 / 0.5104 GB, free: 10.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002192/0.3139, allocations: 0.5444 MB / 0.511 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.3139, allocations: 0 / 0.511 GB, free: 10.11 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001151/0.314, allocations: 172.4 kB / 0.5111 GB, free: 9.918 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.769e-05/0.314, allocations: 85.02 kB / 0.5112 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.436e-05/0.314, allocations: 0 / 0.5112 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.475e-05/0.3141, allocations: 0 / 0.5112 GB, free: 9.816 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.893e-05/0.3141, allocations: 7.984 kB / 0.5112 GB, free: 9.809 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.911e-06/0.3141, allocations: 0 / 0.5112 GB, free: 9.809 MB / 382.1 MB Notification: Performance of sorting global known variables: time 2.2e-05/0.3142, allocations: 87.22 kB / 0.5113 GB, free: 9.723 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3142, allocations: 0 / 0.5113 GB, free: 9.723 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002639/0.3145, allocations: 39.98 kB / 0.5113 GB, free: 9.684 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.0001748/0.3146, allocations: 143.5 kB / 0.5115 GB, free: 9.531 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001966/0.3148, allocations: 43.89 kB / 0.5115 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/0.3148, allocations: 0 / 0.5115 GB, free: 9.488 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.963e-05/0.3149, allocations: 19.98 kB / 0.5115 GB, free: 9.469 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001424/0.3151, allocations: 4 kB / 0.5115 GB, free: 9.465 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003138/0.3154, allocations: 157.1 kB / 0.5117 GB, free: 9.285 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.901e-05/0.3155, allocations: 0.6848 MB / 0.5123 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.423e-05/0.3156, allocations: 0 / 0.5123 GB, free: 8.574 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.061e-05/0.3156, allocations: 7.438 kB / 0.5124 GB, free: 8.566 MB / 382.1 MB Notification: Performance of SimCode: time 2.3e-07/0.3156, allocations: 4 kB / 0.5124 GB, free: 8.562 MB / 382.1 MB Notification: Performance of Templates: time 0.003147/0.3187, allocations: 1.253 MB / 0.5136 GB, free: 7.312 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: