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.007484/0.007484, allocations: 101.9 kB / 15.73 MB, free: 6 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.001612/0.001613, allocations: 195.7 kB / 16.67 MB, free: 5.926 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.544/1.544, allocations: 205.1 MB / 222.5 MB, free: 4.492 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.6444/0.6444, allocations: 95.47 MB / 365.4 MB, free: 9.789 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.002087/0.002087, allocations: 74.08 kB / 0.5036 GB, free: 13.46 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1798/0.1819, allocations: 69.09 MB / 0.5711 GB, free: 8.312 MB / 446.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7136/0.8957, allocations: 185.1 MB / 0.7518 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002892/0.8986, allocations: 1.282 MB / 0.7531 GB, free: 4.18 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003214/0.8989, allocations: 11.88 kB / 0.7531 GB, free: 4.168 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0009367/0.8999, allocations: 234.5 kB / 0.7533 GB, free: 3.938 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001819/0.9018, allocations: 0.6179 MB / 0.7539 GB, free: 3.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.004772/0.9066, allocations: 1.353 MB / 0.7552 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.00167/0.9082, allocations: 1.111 MB / 0.7563 GB, free: 0.8516 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005603/0.9088, allocations: 345.7 kB / 0.7567 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008098/0.9096, allocations: 474.3 kB / 0.7571 GB, free: 40 kB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005026/0.9101, allocations: 382.2 kB / 0.7575 GB, free: 15.67 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 7.638e-05/0.9102, allocations: 48 kB / 0.7575 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00352/0.9138, allocations: 1.528 MB / 0.759 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.000226/0.914, allocations: 195.5 kB / 0.7592 GB, free: 13.9 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0003035/0.9143, allocations: 298.7 kB / 0.7595 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002305/0.9166, allocations: 1.523 MB / 0.761 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 7.885e-06/0.9166, allocations: 0 / 0.761 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of FrontEnd: time 2.224e-06/0.9167, allocations: 0 / 0.761 GB, free: 12.08 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.949e-06/0.9167, allocations: 0 / 0.761 GB, free: 12.08 MB / 0.5762 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.002284/0.919, allocations: 0.9701 MB / 0.7619 GB, free: 11.06 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.569e-05/0.919, allocations: 11.98 kB / 0.7619 GB, free: 11.05 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000344/0.9194, allocations: 63.34 kB / 0.762 GB, free: 10.99 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008626/0.9202, allocations: 422.3 kB / 0.7624 GB, free: 10.54 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.595e-05/0.9203, allocations: 29 kB / 0.7624 GB, free: 10.51 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.882e-05/0.9204, allocations: 36 kB / 0.7625 GB, free: 10.48 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009011/0.9213, allocations: 0.5027 MB / 0.7629 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.9213, allocations: 0 / 0.7629 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.169e-05/0.9214, allocations: 16 kB / 0.763 GB, free: 9.941 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.259e-05/0.9214, allocations: 8 kB / 0.763 GB, free: 9.934 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001005/0.9224, allocations: 475.6 kB / 0.7634 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003298/0.9257, allocations: 2.28 MB / 0.7657 GB, free: 6.945 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003335/0.926, allocations: 154.3 kB / 0.7658 GB, free: 6.785 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002158/0.9263, allocations: 112.8 kB / 0.7659 GB, free: 6.672 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006454/0.9269, allocations: 481.4 kB / 0.7664 GB, free: 6.109 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.753e-05/0.927, allocations: 38.56 kB / 0.7664 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=24): time 1.363e-06/0.927, allocations: 0 / 0.7664 GB, free: 6.062 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24): time 0.0009256/0.9279, allocations: 407 kB / 0.7668 GB, free: 5.66 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.928, allocations: 63.33 kB / 0.7669 GB, free: 5.586 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005682/0.9285, allocations: 0.5019 MB / 0.7673 GB, free: 5.074 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.458e-05/0.9286, allocations: 33.7 kB / 0.7674 GB, free: 5.035 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002614/0.9288, allocations: 251.9 kB / 0.7676 GB, free: 4.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001209/0.929, allocations: 90.73 kB / 0.7677 GB, free: 4.695 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001235/0.9291, allocations: 77.67 kB / 0.7678 GB, free: 4.613 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001878/0.9293, allocations: 354.7 kB / 0.7681 GB, free: 4.258 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002658/0.9296, allocations: 135.8 kB / 0.7682 GB, free: 4.125 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003281/0.9299, allocations: 210.7 kB / 0.7684 GB, free: 3.887 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005801/0.9305, allocations: 355 kB / 0.7688 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.307e-06/0.9305, allocations: 0 / 0.7688 GB, free: 3.508 MB / 0.5762 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000892/0.9314, allocations: 456.3 kB / 0.7692 GB, free: 3.059 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.768e-05/0.9314, allocations: 4 kB / 0.7692 GB, free: 3.055 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.615e-06/0.9315, allocations: 4 kB / 0.7692 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.105e-05/0.9315, allocations: 4 kB / 0.7692 GB, free: 3.047 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003599/0.9318, allocations: 80.08 kB / 0.7693 GB, free: 2.969 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.9319, allocations: 8 kB / 0.7693 GB, free: 2.961 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000304/0.9322, allocations: 56.61 kB / 0.7694 GB, free: 2.906 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.239e-05/0.9322, allocations: 15.98 kB / 0.7694 GB, free: 2.891 MB / 0.5762 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.0001938/0.9324, allocations: 177.7 kB / 0.7696 GB, free: 2.707 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000126/0.9326, allocations: 47.44 kB / 0.7696 GB, free: 2.66 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008794/0.9334, allocations: 424.2 kB / 0.77 GB, free: 2.23 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.506e-06/0.9335, allocations: 11.94 kB / 0.77 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.776e-06/0.9335, allocations: 3.984 kB / 0.77 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.9335, allocations: 0 / 0.77 GB, free: 2.215 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001214/0.9347, allocations: 0.8854 MB / 0.7709 GB, free: 1.254 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/0.9347, allocations: 4 kB / 0.7709 GB, free: 1.25 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002118/0.9349, allocations: 39.92 kB / 0.7709 GB, free: 1.211 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.16e-06/0.935, allocations: 4 kB / 0.7709 GB, free: 1.207 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.173e-05/0.935, allocations: 7.984 kB / 0.7709 GB, free: 1.199 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/0.935, allocations: 4.125 kB / 0.7709 GB, free: 1.195 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.483e-06/0.935, allocations: 8 kB / 0.7709 GB, free: 1.188 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008185/0.9358, allocations: 0.5024 MB / 0.7714 GB, free: 0.6523 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002149/0.9361, allocations: 168.4 kB / 0.7716 GB, free: 480 kB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.9361, allocations: 15.84 kB / 0.7716 GB, free: 464 kB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000357/0.9365, allocations: 23.97 kB / 0.7716 GB, free: 440 kB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.7e-05/0.9366, allocations: 15.92 kB / 0.7716 GB, free: 424 kB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.547e-05/0.9366, allocations: 24.05 kB / 0.7717 GB, free: 400 kB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0005669/0.9372, allocations: 0.491 MB / 0.7722 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.1e-07/0.9372, allocations: 0 / 0.7722 GB, free: 15.9 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0009315/0.9381, allocations: 311.6 kB / 0.7724 GB, free: 15.6 MB / 0.5919 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.0009414/0.9391, allocations: 431.4 kB / 0.7729 GB, free: 15.18 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0006092/0.9397, allocations: 280 kB / 0.7731 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.795e-06/0.9397, allocations: 4.125 kB / 0.7731 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.000222/0.9399, allocations: 111.8 kB / 0.7732 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00139/0.9413, allocations: 311.1 kB / 0.7735 GB, free: 14.5 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001416/0.9428, allocations: 0.8865 MB / 0.7744 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005575/0.9433, allocations: 0.8504 MB / 0.7752 GB, free: 12.68 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0003303/0.9437, allocations: 116.5 kB / 0.7753 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001088/0.9438, allocations: 47.44 kB / 0.7754 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of SimCode: time 2.2e-07/0.9438, allocations: 0 / 0.7754 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of Templates: time 0.02486/0.9687, allocations: 15.15 MB / 0.7902 GB, free: 13.48 MB / 0.6075 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)