Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.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.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.691/0.691, allocations: 94.78 MB / 102.3 MB, free: 10.13 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.001124/0.001124, allocations: 179.2 kB / 125.6 MB, free: 11.87 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.679/1.679, allocations: 170.6 MB / 319.4 MB, free: 9.266 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.00178/0.00178, allocations: 111.4 kB / 381.3 MB, free: 18.28 MB / 282.7 MB Notification: Performance of FrontEnd - loaded program: time 2.238e-05/2.24e-05, allocations: 4 kB / 449.1 MB, free: 1.742 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1694/0.1694, allocations: 61.53 MB / 0.4987 GB, free: 4.129 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 15.82/15.99, allocations: 5.245 GB / 5.743 GB, free: 28.5 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000244/15.99, allocations: 84.52 kB / 5.743 GB, free: 28.41 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.9528/16.94, allocations: 243.2 MB / 5.981 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.995e-06/16.94, allocations: 0 / 5.981 GB, free: 1.324 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 3.708e-05/16.94, allocations: 19.94 kB / 5.981 GB, free: 1.305 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 94 * Number of variables: 94 Notification: Performance of Generate backend data structure: time 0.001783/16.95, allocations: 0.7856 MB / 5.982 GB, free: 488 kB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 5.522e-05/16.95, allocations: 11.97 kB / 5.982 GB, free: 476 kB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002854/16.95, allocations: 59.34 kB / 5.982 GB, free: 416 kB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4477/17.39, allocations: 425.8 kB / 5.982 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.492e-05/17.39, allocations: 11.72 kB / 5.982 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/17.39, allocations: 19.44 kB / 5.982 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009486/17.4, allocations: 406.2 kB / 5.982 GB, free: 106.7 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007287/17.4, allocations: 410.3 kB / 5.983 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.062e-05/17.4, allocations: 3.938 kB / 5.983 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.893e-05/17.4, allocations: 0 / 5.983 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.444e-05/17.4, allocations: 8.312 kB / 5.983 GB, free: 106.6 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002966/17.4, allocations: 1.527 MB / 5.984 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002122/17.4, allocations: 123.6 kB / 5.984 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001425/17.4, allocations: 91.36 kB / 5.985 GB, free: 105.9 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002977/17.4, allocations: 135.7 kB / 5.985 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.713e-05/17.4, allocations: 37 kB / 5.985 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=24): time 1.984e-06/17.4, allocations: 0 / 5.985 GB, free: 105.8 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24): time 0.001142/17.4, allocations: 371.4 kB / 5.985 GB, free: 105.7 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.696e-05/17.4, allocations: 56.84 kB / 5.985 GB, free: 105.6 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004472/17.4, allocations: 315.8 kB / 5.985 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 4.012e-05/17.4, allocations: 25.7 kB / 5.985 GB, free: 105.5 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002357/17.4, allocations: 263.2 kB / 5.986 GB, free: 105.4 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 8.629e-05/17.4, allocations: 81.28 kB / 5.986 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.813e-05/17.4, allocations: 5.938 kB / 5.986 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001428/17.4, allocations: 342.4 kB / 5.986 GB, free: 105 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001813/17.4, allocations: 107.8 kB / 5.986 GB, free: 105 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002274/17.4, allocations: 180 kB / 5.986 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001013/17.4, allocations: 305.1 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.907e-06/17.4, allocations: 2.219 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001248/17.4, allocations: 0.53 MB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 3.19e-05/17.4, allocations: 9.859 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.256e-05/17.4, allocations: 3.594 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/17.4, allocations: 5.531 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004091/17.41, allocations: 89.83 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.03e-05/17.41, allocations: 4.625 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004397/17.41, allocations: 44.33 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.576e-05/17.41, allocations: 22.91 kB / 5.987 GB, free: 104.9 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (41): * Single equations (assignments): 41 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001136/17.41, allocations: 109.9 kB / 5.987 GB, free: 104.8 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.699e-05/17.41, allocations: 39.69 kB / 5.988 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008225/17.41, allocations: 396.4 kB / 5.988 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.433e-06/17.41, allocations: 7.594 kB / 5.988 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.971e-06/17.41, allocations: 0 / 5.988 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/17.41, allocations: 7.188 kB / 5.988 GB, free: 104.7 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001181/17.41, allocations: 0.7854 MB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.408e-06/17.41, allocations: 0.9375 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002434/17.41, allocations: 46.19 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.703e-06/17.41, allocations: 6.578 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.223e-05/17.41, allocations: 3.359 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/17.41, allocations: 5.625 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.664e-06/17.41, allocations: 6.25 kB / 5.989 GB, free: 104.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007096/17.41, allocations: 0.5186 MB / 5.989 GB, free: 104 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002445/17.41, allocations: 195.1 kB / 5.989 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.923e-05/17.41, allocations: 6.641 kB / 5.989 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003583/17.41, allocations: 22.17 kB / 5.989 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/17.41, allocations: 15.86 kB / 5.989 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-05/17.41, allocations: 18.86 kB / 5.99 GB, free: 103.9 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0004109/17.41, allocations: 376 kB / 5.99 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.312e-06/17.41, allocations: 0 / 5.99 GB, free: 103.8 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.001616/17.41, allocations: 369.7 kB / 5.99 GB, free: 103.8 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 1 (senDyn.d) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 20 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002413/17.41, allocations: 1.24 MB / 5.991 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0005082/17.41, allocations: 227.8 kB / 5.992 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.487e-06/17.41, allocations: 0 / 5.992 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001538/17.41, allocations: 82.52 kB / 5.992 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001031/17.42, allocations: 183.2 kB / 5.992 GB, free: 103.7 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001336/17.42, allocations: 0.5783 MB / 5.992 GB, free: 103.4 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004023/17.42, allocations: 0.8726 MB / 5.993 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0003988/17.42, allocations: 86.55 kB / 5.993 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/17.42, allocations: 42.34 kB / 5.993 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of SimCode: time 3.5e-07/17.42, allocations: 2.719 kB / 5.993 GB, free: 102.7 MB / 0.5261 GB Notification: Performance of Templates: time 0.02733/17.45, allocations: 14.98 MB / 6.008 GB, free: 102.5 MB / 0.5261 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)