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/Buildings 1.6.0+build.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo) Using package Modelica with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo) Using package Complex with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo) Using package Buildings with version 1.6 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/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/Buildings 1.6.0+build.1/package.mo): time 0.5477/0.5477, allocations: 94.78 MB / 102.2 MB, free: 10.14 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.1+maint.om/package.mo): time 0.001293/0.001293, allocations: 176.4 kB / 125.6 MB, free: 11.88 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.1+maint.om/package.mo): time 1.567/1.567, allocations: 170.6 MB / 319.4 MB, free: 9.34 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.1+maint.om/package.mo): time 0.001583/0.001583, allocations: 113.1 kB / 381.3 MB, free: 18.32 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 1.924e-05/1.927e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1572/0.1573, allocations: 61.52 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4476/0.6049, allocations: 94.25 MB / 0.5907 GB, free: 7.711 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002938/0.6052, allocations: 78.22 kB / 0.5908 GB, free: 7.637 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01107/0.6163, allocations: 3.523 MB / 0.5942 GB, free: 4.188 MB / 410.7 MB Notification: Performance of FrontEnd: time 1.393e-06/0.6164, allocations: 0.75 kB / 0.5942 GB, free: 4.188 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.756e-05/0.6164, allocations: 4 kB / 0.5942 GB, free: 4.184 MB / 410.7 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.000397/0.6168, allocations: 363.8 kB / 0.5946 GB, free: 3.785 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.6169, allocations: 8.031 kB / 0.5946 GB, free: 3.777 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.883e-05/0.6169, allocations: 7.156 kB / 0.5946 GB, free: 3.773 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001992/0.6171, allocations: 169.3 kB / 0.5947 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.6171, allocations: 0.5938 kB / 0.5947 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.314e-05/0.6172, allocations: 1.125 kB / 0.5947 GB, free: 3.57 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.334e-05/0.6173, allocations: 16 kB / 0.5948 GB, free: 3.555 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.715e-05/0.6174, allocations: 45.62 kB / 0.5948 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.488e-06/0.6174, allocations: 0.5 kB / 0.5948 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.6174, allocations: 0.75 kB / 0.5948 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.6174, allocations: 2.062 kB / 0.5948 GB, free: 3.504 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004325/0.6179, allocations: 246.1 kB / 0.595 GB, free: 3.23 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002153/0.6181, allocations: 43.45 kB / 0.5951 GB, free: 3.18 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.799e-05/0.6181, allocations: 21.47 kB / 0.5951 GB, free: 3.156 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003144/0.6185, allocations: 194.7 kB / 0.5953 GB, free: 2.934 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.139e-05/0.6185, allocations: 34.89 kB / 0.5953 GB, free: 2.895 MB / 410.7 MB Notification: Performance of pre-optimization done (n=4): time 1.212e-06/0.6185, allocations: 3.938 kB / 0.5953 GB, free: 2.891 MB / 410.7 MB Notification: Performance of matching and sorting (n=4): time 0.0004252/0.6189, allocations: 82.44 kB / 0.5954 GB, free: 2.801 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.905e-05/0.619, allocations: 51.41 kB / 0.5955 GB, free: 2.738 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.487e-05/0.6191, allocations: 96.98 kB / 0.5956 GB, free: 2.637 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.676e-05/0.6191, allocations: 25.7 kB / 0.5956 GB, free: 2.605 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.025e-05/0.6192, allocations: 95.98 kB / 0.5957 GB, free: 2.508 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.6192, allocations: 7.812 kB / 0.5957 GB, free: 2.5 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.172e-06/0.6192, allocations: 0 / 0.5957 GB, free: 2.5 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001426/0.6194, allocations: 326.8 kB / 0.596 GB, free: 2.172 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.873e-05/0.6194, allocations: 8 kB / 0.596 GB, free: 2.164 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.355e-05/0.6194, allocations: 27.33 kB / 0.596 GB, free: 2.129 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004286/0.6199, allocations: 63.92 kB / 0.5961 GB, free: 2.066 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.6199, allocations: 7.891 kB / 0.5961 GB, free: 2.059 MB / 410.7 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0004737/0.6204, allocations: 126.5 kB / 0.5962 GB, free: 1.926 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.796e-05/0.6204, allocations: 7.938 kB / 0.5962 GB, free: 1.918 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.345e-06/0.6204, allocations: 4 kB / 0.5962 GB, free: 1.914 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000165/0.6206, allocations: 20.84 kB / 0.5962 GB, free: 1.891 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.311e-05/0.6206, allocations: 4 kB / 0.5962 GB, free: 1.887 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008698/0.6215, allocations: 0.5992 MB / 0.5968 GB, free: 1.262 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.11e-05/0.6216, allocations: 6.141 kB / 0.5968 GB, free: 1.258 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.144e-05/0.6216, allocations: 8.031 kB / 0.5968 GB, free: 1.25 MB / 410.7 MB Warning: Iteration variables with default zero start attribute in torn nonlinear equation system: dp1:VARIABLE(unit = "Pa" ) type: Real 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 () * 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 0.0001839/0.6218, allocations: 105 kB / 0.5969 GB, free: 1.141 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.576e-05/0.6218, allocations: 4 kB / 0.5969 GB, free: 1.137 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005618/0.6224, allocations: 139.3 kB / 0.5971 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.526e-06/0.6224, allocations: 0 / 0.5971 GB, free: 0.9883 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.272e-05/0.6224, allocations: 5.453 kB / 0.5971 GB, free: 0.9844 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.855e-06/0.6224, allocations: 3.953 kB / 0.5971 GB, free: 0.9805 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001866/0.6226, allocations: 138.1 kB / 0.5972 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6226, allocations: 0 / 0.5972 GB, free: 0.8086 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.659e-05/0.6227, allocations: 4 kB / 0.5972 GB, free: 0.8047 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.12e-05/0.6227, allocations: 22.44 kB / 0.5972 GB, free: 0.7812 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.355e-05/0.6228, allocations: 11.75 kB / 0.5973 GB, free: 0.7734 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007682/0.6236, allocations: 0.5991 MB / 0.5978 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.6236, allocations: 0 / 0.5978 GB, free: 152 kB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005482/0.6241, allocations: 212.9 kB / 0.598 GB, free: 15.92 MB / 426.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.116e-05/0.6242, allocations: 81.02 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.903e-05/0.6242, allocations: 0 / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.366e-05/0.6243, allocations: 7.953 kB / 0.5981 GB, free: 15.82 MB / 426.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.459e-05/0.6243, allocations: 6.438 kB / 0.5981 GB, free: 15.81 MB / 426.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.808e-06/0.6244, allocations: 4 kB / 0.5981 GB, free: 15.81 MB / 426.7 MB Notification: Performance of sorting global known variables: time 5.445e-05/0.6244, allocations: 91.2 kB / 0.5982 GB, free: 15.72 MB / 426.7 MB Notification: Performance of sort global known variables: time 3.31e-07/0.6244, allocations: 0 / 0.5982 GB, free: 15.72 MB / 426.7 MB Notification: Performance of remove unused functions: time 0.000313/0.6247, allocations: 43.94 kB / 0.5983 GB, free: 15.68 MB / 426.7 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 () * 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.0002759/0.625, allocations: 155.2 kB / 0.5984 GB, free: 15.52 MB / 426.7 MB Notification: Performance of simCode: created initialization part: time 0.0001928/0.6252, allocations: 35.64 kB / 0.5984 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.6252, allocations: 0 / 0.5984 GB, free: 15.48 MB / 426.7 MB Notification: Performance of simCode: created simulation system equations: time 9.466e-05/0.6253, allocations: 24.06 kB / 0.5985 GB, free: 15.46 MB / 426.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001438/0.6255, allocations: 8.734 kB / 0.5985 GB, free: 15.45 MB / 426.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00022/0.6257, allocations: 68.81 kB / 0.5985 GB, free: 15.37 MB / 426.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004696/0.6262, allocations: 0.6807 MB / 0.5992 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 2.586e-05/0.6262, allocations: 0 / 0.5992 GB, free: 14.66 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.86e-05/0.6263, allocations: 11.44 kB / 0.5992 GB, free: 14.65 MB / 426.7 MB Notification: Performance of SimCode: time 2.4e-07/0.6263, allocations: 0 / 0.5992 GB, free: 14.65 MB / 426.7 MB Notification: Performance of Templates: time 0.003693/0.63, allocations: 1.141 MB / 0.6003 GB, free: 13.55 MB / 426.7 MB make -j1 -f Buildings_1.6_Buildings.Fluid.BaseClasses.FlowModels.Examples.TestFlowFunctions.makefile (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)