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.001314/0.001314, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001552/0.001552, allocations: 191.6 kB / 16.25 MB, free: 6.629 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.558/1.558, allocations: 205.1 MB / 222.1 MB, free: 4.688 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.5866/0.5866, allocations: 95.47 MB / 364.9 MB, free: 10.08 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.001379/0.001379, allocations: 67.91 kB / 444.8 MB, free: 10 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3355/0.3369, allocations: 69.08 MB / 0.5019 GB, free: 17.59 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6506/0.9875, allocations: 183 MB / 0.6806 GB, free: 10.83 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.003535/0.9911, allocations: 1.32 MB / 0.6819 GB, free: 10.68 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007462/0.992, allocations: 19.16 kB / 0.6819 GB, free: 10.66 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0009987/0.993, allocations: 203.2 kB / 0.6821 GB, free: 10.61 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002278/0.9953, allocations: 0.5765 MB / 0.6826 GB, free: 10.46 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.004406/0.9997, allocations: 1.269 MB / 0.6839 GB, free: 10.27 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.001997/1.002, allocations: 1.112 MB / 0.685 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006657/1.002, allocations: 344.7 kB / 0.6853 GB, free: 9.871 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001182/1.004, allocations: 472.2 kB / 0.6857 GB, free: 9.762 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005341/1.004, allocations: 393.5 kB / 0.6861 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.203e-05/1.004, allocations: 50.66 kB / 0.6862 GB, free: 9.684 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003986/1.008, allocations: 1.565 MB / 0.6877 GB, free: 9.281 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.000306/1.009, allocations: 199.7 kB / 0.6879 GB, free: 9.227 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0004787/1.009, allocations: 304.4 kB / 0.6882 GB, free: 9.203 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.003458/1.013, allocations: 1.581 MB / 0.6897 GB, free: 8.605 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/1.013, allocations: 4 kB / 0.6897 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.803e-06/1.013, allocations: 0 / 0.6897 GB, free: 8.602 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.011e-05/1.013, allocations: 0 / 0.6897 GB, free: 8.602 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.00185/1.014, allocations: 0.963 MB / 0.6907 GB, free: 7.906 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.773e-05/1.014, allocations: 13.52 kB / 0.6907 GB, free: 7.902 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003418/1.015, allocations: 64.8 kB / 0.6907 GB, free: 7.871 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000595/1.015, allocations: 406.3 kB / 0.6911 GB, free: 7.562 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.203e-05/1.015, allocations: 26.19 kB / 0.6911 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.027e-05/1.016, allocations: 39.25 kB / 0.6912 GB, free: 7.559 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009009/1.016, allocations: 0.502 MB / 0.6917 GB, free: 7.383 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.434e-05/1.016, allocations: 7.875 kB / 0.6917 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.264e-05/1.017, allocations: 16.44 kB / 0.6917 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.041e-05/1.017, allocations: 10.06 kB / 0.6917 GB, free: 7.375 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008136/1.017, allocations: 471.4 kB / 0.6922 GB, free: 7.289 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003462/1.021, allocations: 2.278 MB / 0.6944 GB, free: 5.516 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003249/1.021, allocations: 157.4 kB / 0.6945 GB, free: 5.465 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002068/1.021, allocations: 113.8 kB / 0.6946 GB, free: 5.438 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006666/1.022, allocations: 481.3 kB / 0.6951 GB, free: 4.938 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.291e-05/1.022, allocations: 36.81 kB / 0.6951 GB, free: 4.898 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.424e-06/1.022, allocations: 4 kB / 0.6951 GB, free: 4.895 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.0009473/1.023, allocations: 404.8 kB / 0.6955 GB, free: 4.781 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.799e-05/1.023, allocations: 60.06 kB / 0.6956 GB, free: 4.715 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006025/1.024, allocations: 0.5055 MB / 0.6961 GB, free: 4.52 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 4.49e-05/1.024, allocations: 31.8 kB / 0.6961 GB, free: 4.488 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001745/1.024, allocations: 252 kB / 0.6963 GB, free: 4.336 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.715e-05/1.024, allocations: 82.3 kB / 0.6964 GB, free: 4.277 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001289/1.024, allocations: 80 kB / 0.6965 GB, free: 4.246 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001477/1.024, allocations: 361.2 kB / 0.6968 GB, free: 3.914 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002448/1.025, allocations: 128.7 kB / 0.697 GB, free: 3.891 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003124/1.025, allocations: 218.6 kB / 0.6972 GB, free: 3.77 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005664/1.026, allocations: 347.3 kB / 0.6975 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.258e-06/1.026, allocations: 2.5 kB / 0.6975 GB, free: 3.637 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0008063/1.026, allocations: 451 kB / 0.6979 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.026, allocations: 4.812 kB / 0.6979 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.006e-06/1.026, allocations: 4.562 kB / 0.6979 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.846e-05/1.026, allocations: 2.844 kB / 0.698 GB, free: 3.508 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004008/1.027, allocations: 87.77 kB / 0.698 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.211e-05/1.027, allocations: 4.438 kB / 0.698 GB, free: 3.484 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004393/1.027, allocations: 63.73 kB / 0.6981 GB, free: 3.445 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.894e-05/1.027, allocations: 24.11 kB / 0.6981 GB, free: 3.438 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.0002165/1.028, allocations: 179.6 kB / 0.6983 GB, free: 3.309 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001008/1.028, allocations: 49 kB / 0.6983 GB, free: 3.285 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008186/1.028, allocations: 427.3 kB / 0.6987 GB, free: 3.105 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.162e-06/1.029, allocations: 6.344 kB / 0.6988 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.38e-06/1.029, allocations: 0 / 0.6988 GB, free: 3.102 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/1.029, allocations: 6.406 kB / 0.6988 GB, free: 3.098 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001136/1.03, allocations: 0.8781 MB / 0.6996 GB, free: 2.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.128e-06/1.03, allocations: 7.219 kB / 0.6996 GB, free: 2.566 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002201/1.03, allocations: 45.34 kB / 0.6997 GB, free: 2.555 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.302e-06/1.03, allocations: 6.172 kB / 0.6997 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.011e-05/1.03, allocations: 3.094 kB / 0.6997 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.494e-06/1.03, allocations: 2.719 kB / 0.6997 GB, free: 2.551 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.998e-06/1.03, allocations: 6.031 kB / 0.6997 GB, free: 2.547 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007934/1.031, allocations: 0.4988 MB / 0.7002 GB, free: 2.289 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001949/1.031, allocations: 162.4 kB / 0.7003 GB, free: 2.152 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.97e-05/1.031, allocations: 18.31 kB / 0.7003 GB, free: 2.145 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003803/1.031, allocations: 26.03 kB / 0.7004 GB, free: 2.133 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.705e-05/1.032, allocations: 22.95 kB / 0.7004 GB, free: 2.121 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.303e-05/1.032, allocations: 14.08 kB / 0.7004 GB, free: 2.117 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005665/1.032, allocations: 0.4944 MB / 0.7009 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.41e-07/1.032, allocations: 0 / 0.7009 GB, free: 1.84 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001045/1.033, allocations: 315.3 kB / 0.7012 GB, free: 1.758 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.001007/1.034, allocations: 435.8 kB / 0.7016 GB, free: 1.535 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006698/1.035, allocations: 287.8 kB / 0.7019 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/1.035, allocations: 0 / 0.7019 GB, free: 1.406 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002078/1.035, allocations: 102.9 kB / 0.702 GB, free: 1.363 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001457/1.037, allocations: 311.8 kB / 0.7023 GB, free: 1.199 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001621/1.038, allocations: 1.042 MB / 0.7033 GB, free: 460 kB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005068/1.039, allocations: 0.852 MB / 0.7041 GB, free: 15.67 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.0004719/1.039, allocations: 100.9 kB / 0.7042 GB, free: 15.63 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001123/1.039, allocations: 44.2 kB / 0.7043 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of SimCode: time 5.21e-07/1.039, allocations: 0 / 0.7043 GB, free: 15.62 MB / 0.5137 GB Notification: Performance of Templates: time 0.02681/1.066, allocations: 14.81 MB / 0.7187 GB, free: 3.469 MB / 0.5137 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)