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.000955/0.0009549, allocations: 84.38 kB / 15.06 MB, free: 1.09 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.0009989/0.000999, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.637 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.7262/0.7262, allocations: 95.62 MB / 366 MB, free: 10.35 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.0008183/0.0008184, allocations: 20 kB / 446.9 MB, free: 9.348 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5051/0.506, allocations: 70.34 MB / 0.5051 GB, free: 16.48 MB / 382.1 MB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6779/1.184, allocations: 168.6 MB / 0.6697 GB, free: 0.5977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.002742/1.187, allocations: 1.272 MB / 0.6709 GB, free: 484 kB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003563/1.187, allocations: 14.38 kB / 0.6709 GB, free: 476 kB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006753/1.188, allocations: 165.5 kB / 0.6711 GB, free: 416 kB / 494.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.001424/1.189, allocations: 0.5301 MB / 0.6716 GB, free: 252 kB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003493/1.193, allocations: 0.9684 MB / 0.6726 GB, free: 80 kB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.001934/1.195, allocations: 1.294 MB / 0.6738 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005085/1.195, allocations: 282.2 kB / 0.6741 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009079/1.196, allocations: 407.1 kB / 0.6745 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005349/1.197, allocations: 363.7 kB / 0.6748 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 5.753e-05/1.197, allocations: 26 kB / 0.6749 GB, free: 15.71 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002643/1.199, allocations: 0.9047 MB / 0.6757 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0002173/1.2, allocations: 173.5 kB / 0.6759 GB, free: 15.62 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0001603/1.2, allocations: 129.7 kB / 0.676 GB, free: 15.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/1.201, allocations: 0.9474 MB / 0.677 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 7.695e-06/1.201, allocations: 0 / 0.677 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.984e-06/1.201, allocations: 0 / 0.677 GB, free: 15.5 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 7.844e-06/1.201, allocations: 0 / 0.677 GB, free: 15.5 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.001595/1.203, allocations: 0.8642 MB / 0.6778 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 4.696e-05/1.203, allocations: 12.39 kB / 0.6778 GB, free: 14.9 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002703/1.203, allocations: 69.3 kB / 0.6779 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005373/1.204, allocations: 397.3 kB / 0.6783 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.05e-05/1.204, allocations: 28.5 kB / 0.6783 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.966e-05/1.204, allocations: 37.91 kB / 0.6783 GB, free: 14.61 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008514/1.205, allocations: 0.4953 MB / 0.6788 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.593e-05/1.205, allocations: 3.938 kB / 0.6788 GB, free: 14.54 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.045e-05/1.205, allocations: 20.61 kB / 0.6788 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/1.205, allocations: 11.88 kB / 0.6788 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008685/1.206, allocations: 476.4 kB / 0.6793 GB, free: 14.52 MB / 0.4981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003304/1.209, allocations: 2.286 MB / 0.6815 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/1.209, allocations: 157.3 kB / 0.6817 GB, free: 12.81 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002304/1.209, allocations: 119.8 kB / 0.6818 GB, free: 12.79 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000694/1.21, allocations: 489.8 kB / 0.6823 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.752e-05/1.21, allocations: 40.52 kB / 0.6823 GB, free: 12.24 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=24): time 2.545e-06/1.21, allocations: 7.938 kB / 0.6823 GB, free: 12.23 MB / 0.4981 GB Notification: Performance of matching and sorting (n=24): time 0.0009162/1.211, allocations: 420.8 kB / 0.6827 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.553e-05/1.211, allocations: 63.95 kB / 0.6828 GB, free: 12.05 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006488/1.212, allocations: 0.507 MB / 0.6833 GB, free: 11.85 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 5.215e-05/1.212, allocations: 31.86 kB / 0.6833 GB, free: 11.82 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002274/1.212, allocations: 253.5 kB / 0.6835 GB, free: 11.67 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 7.772e-05/1.212, allocations: 84.75 kB / 0.6836 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.842e-05/1.212, allocations: 6.188 kB / 0.6836 GB, free: 11.61 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001893/1.212, allocations: 352.4 kB / 0.684 GB, free: 11.28 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002577/1.213, allocations: 138.8 kB / 0.6841 GB, free: 11.25 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002989/1.213, allocations: 216.2 kB / 0.6843 GB, free: 11.14 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000315/1.213, allocations: 161.3 kB / 0.6844 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.687e-06/1.213, allocations: 2.938 kB / 0.6845 GB, free: 11.11 MB / 0.4981 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0007651/1.214, allocations: 452.6 kB / 0.6849 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.146e-05/1.214, allocations: 7.5 kB / 0.6849 GB, free: 10.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.586e-06/1.214, allocations: 9.344 kB / 0.6849 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.288e-05/1.214, allocations: 2.969 kB / 0.6849 GB, free: 10.98 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003629/1.215, allocations: 86.61 kB / 0.685 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/1.215, allocations: 7.141 kB / 0.685 GB, free: 10.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003993/1.215, allocations: 72.56 kB / 0.6851 GB, free: 10.92 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.326e-05/1.215, allocations: 14.84 kB / 0.6851 GB, free: 10.92 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002853/1.215, allocations: 179.8 kB / 0.6852 GB, free: 10.79 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.42e-05/1.215, allocations: 49.44 kB / 0.6853 GB, free: 10.77 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007902/1.216, allocations: 441.9 kB / 0.6857 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/1.216, allocations: 7.406 kB / 0.6857 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.623e-06/1.216, allocations: 0 / 0.6857 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.416e-06/1.216, allocations: 3.984 kB / 0.6857 GB, free: 10.57 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/1.218, allocations: 0.8946 MB / 0.6866 GB, free: 10.04 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/1.218, allocations: 6.922 kB / 0.6866 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002024/1.218, allocations: 38.73 kB / 0.6866 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/1.218, allocations: 2.875 kB / 0.6866 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.873e-05/1.218, allocations: 3.594 kB / 0.6866 GB, free: 10.03 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.176e-06/1.218, allocations: 5.953 kB / 0.6867 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.172e-06/1.218, allocations: 13.05 kB / 0.6867 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007762/1.219, allocations: 0.5103 MB / 0.6872 GB, free: 9.758 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002381/1.219, allocations: 211.9 kB / 0.6874 GB, free: 9.602 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.322e-05/1.219, allocations: 14.11 kB / 0.6874 GB, free: 9.594 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003361/1.219, allocations: 25.67 kB / 0.6874 GB, free: 9.586 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/1.219, allocations: 20.19 kB / 0.6874 GB, free: 9.578 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.964e-05/1.219, allocations: 16.56 kB / 0.6874 GB, free: 9.57 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0005311/1.22, allocations: 0.4888 MB / 0.6879 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.31e-07/1.22, allocations: 0 / 0.6879 GB, free: 9.414 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.001022/1.221, allocations: 313.4 kB / 0.6882 GB, free: 9.355 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 (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.0009463/1.222, allocations: 412.7 kB / 0.6886 GB, free: 9.156 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0006116/1.223, allocations: 286 kB / 0.6889 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/1.223, allocations: 0.5 kB / 0.6889 GB, free: 9.105 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002084/1.223, allocations: 110.9 kB / 0.689 GB, free: 9.082 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001389/1.224, allocations: 291.4 kB / 0.6893 GB, free: 8.988 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001828/1.226, allocations: 1.066 MB / 0.6903 GB, free: 8.277 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005744/1.227, allocations: 0.8506 MB / 0.6911 GB, free: 7.512 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.0004686/1.227, allocations: 106.7 kB / 0.6912 GB, free: 7.461 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001224/1.227, allocations: 52.86 kB / 0.6913 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of SimCode: time 3.31e-07/1.227, allocations: 0 / 0.6913 GB, free: 7.445 MB / 0.4981 GB Notification: Performance of Templates: time 0.02417/1.251, allocations: 13.76 MB / 0.7047 GB, free: 500 kB / 0.4981 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: