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.005826/0.005826, allocations: 101.7 kB / 15.73 MB, free: 5.59 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.001187/0.001187, allocations: 191.7 kB / 16.67 MB, free: 5.523 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.515/1.515, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 1.6.0+build.1/package.mo): time 0.4782/0.4782, allocations: 95.47 MB / 365.4 MB, free: 12.17 MB / 318.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.001476/0.001476, allocations: 71.89 kB / 0.5036 GB, free: 11.81 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4723/0.4738, allocations: 69.09 MB / 0.5711 GB, free: 4.121 MB / 430.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8071/1.281, allocations: 185.1 MB / 0.7518 GB, free: 1.848 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003162/1.284, allocations: 1.269 MB / 0.7531 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004752/1.285, allocations: 13.88 kB / 0.7531 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0008915/1.286, allocations: 231.9 kB / 0.7533 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002179/1.288, allocations: 0.6228 MB / 0.7539 GB, free: 1.844 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.005702/1.293, allocations: 1.354 MB / 0.7552 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.002559/1.296, allocations: 1.105 MB / 0.7563 GB, free: 1.797 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009405/1.297, allocations: 348.8 kB / 0.7566 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001568/1.299, allocations: 472.7 kB / 0.7571 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00118/1.3, allocations: 374.7 kB / 0.7575 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002977/1.3, allocations: 49.31 kB / 0.7575 GB, free: 1.77 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004402/1.305, allocations: 1.52 MB / 0.759 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004119/1.305, allocations: 203.2 kB / 0.7592 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0008059/1.306, allocations: 298.7 kB / 0.7595 GB, free: 1.75 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.004629/1.31, allocations: 1.519 MB / 0.761 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 8.596e-06/1.31, allocations: 3.875 kB / 0.761 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.627e-06/1.31, allocations: 0 / 0.761 GB, free: 1.668 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 6.168e-05/1.311, allocations: 0.7188 kB / 0.761 GB, free: 1.668 MB / 0.5919 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.003238/1.314, allocations: 0.9629 MB / 0.7619 GB, free: 17.07 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.646e-05/1.314, allocations: 12.27 kB / 0.7619 GB, free: 17.06 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004226/1.314, allocations: 65.25 kB / 0.762 GB, free: 17.04 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008244/1.315, allocations: 427.5 kB / 0.7624 GB, free: 16.79 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.79e-05/1.315, allocations: 29.72 kB / 0.7624 GB, free: 16.79 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.896e-05/1.315, allocations: 35.72 kB / 0.7624 GB, free: 16.79 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001007/1.316, allocations: 0.4974 MB / 0.7629 GB, free: 16.73 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.068e-05/1.316, allocations: 3.938 kB / 0.7629 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.31e-05/1.316, allocations: 16.03 kB / 0.7629 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/1.316, allocations: 7.938 kB / 0.763 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009186/1.317, allocations: 475.8 kB / 0.7634 GB, free: 16.72 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003842/1.321, allocations: 2.28 MB / 0.7656 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003377/1.321, allocations: 158.8 kB / 0.7658 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002137/1.322, allocations: 114.5 kB / 0.7659 GB, free: 15.23 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008773/1.323, allocations: 481.3 kB / 0.7664 GB, free: 14.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.544e-05/1.323, allocations: 41.62 kB / 0.7664 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=24): time 2.365e-06/1.323, allocations: 0 / 0.7664 GB, free: 14.72 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24): time 0.0009776/1.324, allocations: 411.6 kB / 0.7668 GB, free: 14.66 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.065e-05/1.324, allocations: 54.78 kB / 0.7668 GB, free: 14.6 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006914/1.324, allocations: 0.5016 MB / 0.7673 GB, free: 14.48 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 6.134e-05/1.324, allocations: 35.7 kB / 0.7674 GB, free: 14.45 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001946/1.325, allocations: 256.4 kB / 0.7676 GB, free: 14.31 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 8.489e-05/1.325, allocations: 84.91 kB / 0.7677 GB, free: 14.26 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001394/1.325, allocations: 77.73 kB / 0.7678 GB, free: 14.24 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001925/1.325, allocations: 359.9 kB / 0.7681 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000277/1.325, allocations: 129.8 kB / 0.7682 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003385/1.326, allocations: 210.9 kB / 0.7684 GB, free: 13.84 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006187/1.326, allocations: 354.9 kB / 0.7688 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/1.326, allocations: 0 / 0.7688 GB, free: 13.75 MB / 0.6075 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.000876/1.327, allocations: 447.9 kB / 0.7692 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.179e-05/1.327, allocations: 6.344 kB / 0.7692 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.095e-05/1.327, allocations: 7.547 kB / 0.7692 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.783e-05/1.327, allocations: 4.281 kB / 0.7692 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003758/1.328, allocations: 75.31 kB / 0.7693 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.476e-05/1.328, allocations: 11.81 kB / 0.7693 GB, free: 13.69 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004245/1.328, allocations: 52.05 kB / 0.7693 GB, free: 13.66 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.741e-05/1.328, allocations: 17.16 kB / 0.7694 GB, free: 13.66 MB / 0.6075 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.0002471/1.329, allocations: 182.9 kB / 0.7695 GB, free: 13.54 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001346/1.329, allocations: 50.5 kB / 0.7696 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009283/1.33, allocations: 427 kB / 0.77 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/1.33, allocations: 2.5 kB / 0.77 GB, free: 13.42 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.907e-06/1.33, allocations: 8.781 kB / 0.77 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/1.33, allocations: 1.094 kB / 0.77 GB, free: 13.41 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001434/1.331, allocations: 0.8873 MB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/1.331, allocations: 5.125 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002149/1.331, allocations: 37.16 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.155e-06/1.331, allocations: 9.641 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.97e-05/1.331, allocations: 5.938 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/1.331, allocations: 6.781 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.697e-06/1.331, allocations: 3.578 kB / 0.7709 GB, free: 13.05 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008226/1.332, allocations: 0.5023 MB / 0.7714 GB, free: 12.84 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002646/1.332, allocations: 161 kB / 0.7716 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001206/1.333, allocations: 20.78 kB / 0.7716 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003928/1.333, allocations: 18.44 kB / 0.7716 GB, free: 12.71 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.984e-05/1.333, allocations: 18.45 kB / 0.7716 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.354e-05/1.333, allocations: 20.34 kB / 0.7717 GB, free: 12.7 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005472/1.334, allocations: 0.493 MB / 0.7721 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.3e-07/1.334, allocations: 1.031 kB / 0.7721 GB, free: 12.62 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001218/1.335, allocations: 318.3 kB / 0.7724 GB, free: 12.57 MB / 0.6075 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.001539/1.336, allocations: 425.6 kB / 0.7728 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0007291/1.337, allocations: 284.4 kB / 0.7731 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 6.372e-06/1.337, allocations: 4.328 kB / 0.7731 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0002363/1.337, allocations: 104.6 kB / 0.7732 GB, free: 12.42 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001607/1.339, allocations: 307.3 kB / 0.7735 GB, free: 12.38 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001932/1.341, allocations: 0.8885 MB / 0.7744 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005812/1.342, allocations: 0.8571 MB / 0.7752 GB, free: 11.27 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.000648/1.342, allocations: 108.4 kB / 0.7753 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001411/1.342, allocations: 45.94 kB / 0.7754 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of SimCode: time 8.62e-07/1.342, allocations: 4.875 kB / 0.7754 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of Templates: time 0.02716/1.37, allocations: 14.97 MB / 0.79 GB, free: 9.938 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)