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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001231/0.001231, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.01033/0.01033, allocations: 169.6 kB / 16.26 MB, free: 6.676 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.674/1.674, allocations: 205.4 MB / 222.5 MB, free: 5.562 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.6578/0.6578, allocations: 95.64 MB / 366.4 MB, free: 10.23 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.0006073/0.0006072, allocations: 16 kB / 447.5 MB, free: 8.988 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.386/0.3866, allocations: 70.34 MB / 0.5057 GB, free: 16.36 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6101/0.9967, allocations: 180.9 MB / 0.6824 GB, free: 10.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.002883/0.9997, allocations: 1.312 MB / 0.6836 GB, free: 10.58 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004796/1, allocations: 13.41 kB / 0.6836 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0007659/1.001, allocations: 199.1 kB / 0.6838 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.001621/1.003, allocations: 0.5951 MB / 0.6844 GB, free: 10.18 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004262/1.007, allocations: 1.24 MB / 0.6856 GB, free: 9.73 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.00201/1.009, allocations: 1.528 MB / 0.6871 GB, free: 9.25 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004829/1.009, allocations: 285.2 kB / 0.6874 GB, free: 9.141 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007648/1.01, allocations: 414 kB / 0.6878 GB, free: 9.039 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005216/1.011, allocations: 382 kB / 0.6882 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 6.008e-05/1.011, allocations: 21.38 kB / 0.6882 GB, free: 8.953 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003651/1.014, allocations: 1.714 MB / 0.6898 GB, free: 8.477 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002363/1.015, allocations: 166 kB / 0.69 GB, free: 8.426 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003702/1.015, allocations: 302.2 kB / 0.6903 GB, free: 8.371 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002523/1.018, allocations: 1.553 MB / 0.6918 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.018, allocations: 0 / 0.6918 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of FrontEnd: time 2.565e-06/1.018, allocations: 0 / 0.6918 GB, free: 7.77 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 9.498e-06/1.018, allocations: 2.969 kB / 0.6918 GB, free: 7.77 MB / 0.4981 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.001699/1.019, allocations: 0.8653 MB / 0.6927 GB, free: 7.102 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 5.634e-05/1.019, allocations: 12.52 kB / 0.6927 GB, free: 7.098 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000309/1.02, allocations: 60.09 kB / 0.6927 GB, free: 7.07 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005505/1.02, allocations: 403.9 kB / 0.6931 GB, free: 6.762 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.569e-05/1.02, allocations: 31.22 kB / 0.6931 GB, free: 6.758 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.911e-05/1.02, allocations: 39.59 kB / 0.6932 GB, free: 6.754 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008656/1.021, allocations: 0.5028 MB / 0.6937 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.475e-05/1.021, allocations: 1.859 kB / 0.6937 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.114e-05/1.021, allocations: 16.97 kB / 0.6937 GB, free: 6.582 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.558e-05/1.021, allocations: 11.88 kB / 0.6937 GB, free: 6.578 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000812/1.022, allocations: 489.6 kB / 0.6942 GB, free: 6.488 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003104/1.025, allocations: 2.279 MB / 0.6964 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003131/1.026, allocations: 160.3 kB / 0.6965 GB, free: 4.664 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002235/1.026, allocations: 117.1 kB / 0.6967 GB, free: 4.641 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006933/1.027, allocations: 498.5 kB / 0.6971 GB, free: 4.137 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.696e-05/1.027, allocations: 41.19 kB / 0.6972 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 3.005e-06/1.027, allocations: 0 / 0.6972 GB, free: 4.094 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.0009358/1.028, allocations: 432.7 kB / 0.6976 GB, free: 3.969 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/1.028, allocations: 53.22 kB / 0.6976 GB, free: 3.906 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005992/1.028, allocations: 0.5032 MB / 0.6981 GB, free: 3.715 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.306e-05/1.028, allocations: 33.89 kB / 0.6982 GB, free: 3.684 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001953/1.028, allocations: 260.1 kB / 0.6984 GB, free: 3.527 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.217e-05/1.029, allocations: 80.53 kB / 0.6985 GB, free: 3.469 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.07e-05/1.029, allocations: 36.64 kB / 0.6985 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.029, allocations: 355.7 kB / 0.6989 GB, free: 3.117 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/1.029, allocations: 137.8 kB / 0.699 GB, free: 3.094 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003127/1.029, allocations: 220.1 kB / 0.6992 GB, free: 2.973 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005735/1.03, allocations: 364.2 kB / 0.6995 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/1.03, allocations: 0 / 0.6995 GB, free: 2.836 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007995/1.031, allocations: 458.4 kB / 0.7 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 3.134e-05/1.031, allocations: 8 kB / 0.7 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.093e-05/1.031, allocations: 2.812 kB / 0.7 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.907e-05/1.031, allocations: 2.375 kB / 0.7 GB, free: 2.707 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000365/1.031, allocations: 84.45 kB / 0.7001 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.031, allocations: 3.344 kB / 0.7001 GB, free: 2.688 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004349/1.032, allocations: 71.41 kB / 0.7001 GB, free: 2.648 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.678e-05/1.032, allocations: 18.52 kB / 0.7002 GB, free: 2.645 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002152/1.032, allocations: 181.2 kB / 0.7003 GB, free: 2.516 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.501e-05/1.032, allocations: 48.19 kB / 0.7004 GB, free: 2.492 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000887/1.033, allocations: 443.9 kB / 0.7008 GB, free: 2.301 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.017e-06/1.033, allocations: 6.844 kB / 0.7008 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/1.033, allocations: 0 / 0.7008 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.578e-06/1.033, allocations: 0 / 0.7008 GB, free: 2.297 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001248/1.034, allocations: 0.9003 MB / 0.7017 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.89e-06/1.034, allocations: 2.906 kB / 0.7017 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/1.035, allocations: 44.44 kB / 0.7017 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.182e-06/1.035, allocations: 3.406 kB / 0.7017 GB, free: 1.746 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.104e-05/1.035, allocations: 10.56 kB / 0.7018 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.223e-06/1.035, allocations: 2.594 kB / 0.7018 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.689e-06/1.035, allocations: 4.625 kB / 0.7018 GB, free: 1.742 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008962/1.035, allocations: 0.5191 MB / 0.7023 GB, free: 1.477 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002453/1.036, allocations: 219.3 kB / 0.7025 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.928e-05/1.036, allocations: 6.375 kB / 0.7025 GB, free: 1.316 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004286/1.036, allocations: 21.12 kB / 0.7025 GB, free: 1.309 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.145e-05/1.036, allocations: 20.27 kB / 0.7025 GB, free: 1.301 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.023e-05/1.036, allocations: 18.48 kB / 0.7025 GB, free: 1.297 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0006974/1.037, allocations: 0.4911 MB / 0.703 GB, free: 1.141 MB / 0.4981 GB Notification: Performance of sort global known variables: time 2.8e-07/1.037, allocations: 4 kB / 0.703 GB, free: 1.137 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001556/1.039, allocations: 314.7 kB / 0.7033 GB, free: 1.078 MB / 0.4981 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 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001321/1.04, allocations: 434.9 kB / 0.7037 GB, free: 0.8672 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0007427/1.041, allocations: 291.2 kB / 0.704 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/1.041, allocations: 0 / 0.704 GB, free: 0.8125 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002233/1.041, allocations: 108.5 kB / 0.7041 GB, free: 0.7891 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00164/1.043, allocations: 304.9 kB / 0.7044 GB, free: 0.6875 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001751/1.044, allocations: 1.09 MB / 0.7055 GB, free: 15.96 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004848/1.045, allocations: 0.8564 MB / 0.7063 GB, free: 15.19 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004641/1.045, allocations: 108.7 kB / 0.7064 GB, free: 15.14 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000114/1.046, allocations: 44.77 kB / 0.7065 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of SimCode: time 7.12e-07/1.046, allocations: 0 / 0.7065 GB, free: 15.13 MB / 0.5137 GB Notification: Performance of Templates: time 0.02531/1.071, allocations: 14.31 MB / 0.7204 GB, free: 4.984 MB / 0.5137 GB make -j1 -f Buildings_1.6_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: