Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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.001266/0.001266, allocations: 99 kB / 15.05 MB, free: 1.105 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.001311/0.001311, allocations: 177.3 kB / 15.94 MB, free: 228 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.698/1.698, allocations: 205.4 MB / 222.1 MB, free: 5.496 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.624/1.624, allocations: 251.9 MB / 0.51 GB, free: 4.883 MB / 414.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: Performance of FrontEnd - loaded program: time 0.0005698/0.00057, allocations: 12 kB / 0.6241 GB, free: 1.203 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5934/0.594, allocations: 106.3 MB / 0.728 GB, free: 11.44 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1794/0.7734, allocations: 140.3 MB / 0.865 GB, free: 14.79 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003298/0.7768, allocations: 1.626 MB / 0.8666 GB, free: 13.16 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000298/0.7771, allocations: 11.94 kB / 0.8666 GB, free: 13.15 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007766/0.7779, allocations: 171.2 kB / 0.8667 GB, free: 12.98 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001524/0.7794, allocations: 0.5374 MB / 0.8673 GB, free: 12.45 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001578/0.781, allocations: 0.5051 MB / 0.8677 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0007572/0.7818, allocations: 431.6 kB / 0.8682 GB, free: 11.52 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003583/0.7822, allocations: 185.2 kB / 0.8683 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008979/0.7831, allocations: 335 kB / 0.8687 GB, free: 11.02 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002039/0.7833, allocations: 155.4 kB / 0.8688 GB, free: 10.86 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.546e-05/0.7833, allocations: 12 kB / 0.8688 GB, free: 10.85 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001081/0.7844, allocations: 419.3 kB / 0.8692 GB, free: 10.44 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002371/0.7847, allocations: 91.77 kB / 0.8693 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 8.358e-05/0.7848, allocations: 85.52 kB / 0.8694 GB, free: 10.26 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0006136/0.7854, allocations: 395.1 kB / 0.8698 GB, free: 9.875 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.895e-06/0.7854, allocations: 4 kB / 0.8698 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.883e-06/0.7854, allocations: 0 / 0.8698 GB, free: 9.871 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.302e-06/0.7854, allocations: 0 / 0.8698 GB, free: 9.871 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001009/0.7864, allocations: 0.5805 MB / 0.8703 GB, free: 9.238 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.7865, allocations: 12.03 kB / 0.8703 GB, free: 9.227 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001184/0.7877, allocations: 171.3 kB / 0.8705 GB, free: 9.059 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006335/0.7883, allocations: 293.9 kB / 0.8708 GB, free: 8.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.7884, allocations: 24.44 kB / 0.8708 GB, free: 8.711 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.428e-05/0.7884, allocations: 20 kB / 0.8708 GB, free: 8.691 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006207/0.789, allocations: 275.5 kB / 0.8711 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.7891, allocations: 0 / 0.8711 GB, free: 8.398 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.314e-05/0.7891, allocations: 12 kB / 0.8711 GB, free: 8.387 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.748e-06/0.7891, allocations: 8 kB / 0.8711 GB, free: 8.379 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000447/0.7896, allocations: 203.8 kB / 0.8713 GB, free: 8.18 MB / 0.6856 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001663/0.7912, allocations: 1.221 MB / 0.8725 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000272/0.7915, allocations: 138.5 kB / 0.8726 GB, free: 6.711 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/0.792, allocations: 141 kB / 0.8728 GB, free: 6.555 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.792, allocations: 34.56 kB / 0.8728 GB, free: 6.512 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=15): time 1.393e-06/0.792, allocations: 4 kB / 0.8728 GB, free: 6.508 MB / 0.6856 GB Notification: Performance of matching and sorting (n=15): time 0.0008112/0.7928, allocations: 285.5 kB / 0.8731 GB, free: 6.223 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.757e-05/0.7929, allocations: 63.34 kB / 0.8731 GB, free: 6.148 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004844/0.7934, allocations: 312.5 kB / 0.8734 GB, free: 5.832 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.741e-05/0.7934, allocations: 29.7 kB / 0.8735 GB, free: 5.797 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000253/0.7937, allocations: 180.2 kB / 0.8736 GB, free: 5.617 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.96e-05/0.7937, allocations: 55.2 kB / 0.8737 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/0.7937, allocations: 0 / 0.8737 GB, free: 5.562 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0003246/0.7941, allocations: 342.8 kB / 0.874 GB, free: 5.219 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001745/0.7942, allocations: 79.94 kB / 0.8741 GB, free: 5.141 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/0.7945, allocations: 119.7 kB / 0.8742 GB, free: 5.008 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001765/0.7947, allocations: 91.89 kB / 0.8743 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.7947, allocations: 0 / 0.8743 GB, free: 4.918 MB / 0.6856 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000658/0.7954, allocations: 255.1 kB / 0.8745 GB, free: 4.664 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.7954, allocations: 7.938 kB / 0.8745 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7954, allocations: 0 / 0.8745 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.446e-05/0.7954, allocations: 4 kB / 0.8745 GB, free: 4.652 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000198/0.7956, allocations: 43.92 kB / 0.8746 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.546e-06/0.7956, allocations: 0 / 0.8746 GB, free: 4.609 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003009/0.796, allocations: 47.78 kB / 0.8746 GB, free: 4.562 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.89e-05/0.796, allocations: 8 kB / 0.8746 GB, free: 4.555 MB / 0.6856 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (22): * Single equations (assignments): 22 * 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.0001709/0.7962, allocations: 153.7 kB / 0.8748 GB, free: 4.395 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.03e-05/0.7962, allocations: 31.62 kB / 0.8748 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004646/0.7967, allocations: 228.3 kB / 0.875 GB, free: 4.133 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7967, allocations: 4 kB / 0.875 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.7967, allocations: 0 / 0.875 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.878e-06/0.7967, allocations: 144 / 0.875 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001092/0.7978, allocations: 0.6912 MB / 0.8757 GB, free: 3.359 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.7978, allocations: 4.203 kB / 0.8757 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001682/0.798, allocations: 43.97 kB / 0.8758 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.798, allocations: 7.938 kB / 0.8758 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/0.7981, allocations: 0 / 0.8758 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.7981, allocations: 4 kB / 0.8758 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.589e-06/0.7981, allocations: 7.953 kB / 0.8758 GB, free: 3.293 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001033/0.7991, allocations: 0.5237 MB / 0.8763 GB, free: 2.691 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001218/0.7992, allocations: 120.8 kB / 0.8764 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.936e-05/0.7993, allocations: 0 / 0.8764 GB, free: 2.555 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001932/0.7995, allocations: 27.88 kB / 0.8764 GB, free: 2.527 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001479/0.7996, allocations: 11.98 kB / 0.8764 GB, free: 2.516 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.7997, allocations: 4 kB / 0.8764 GB, free: 2.512 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002084/0.7999, allocations: 227.1 kB / 0.8767 GB, free: 2.289 MB / 0.6856 GB Notification: Performance of sort global known variables: time 4.41e-07/0.7999, allocations: 4 kB / 0.8767 GB, free: 2.285 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.000406/0.8003, allocations: 79.91 kB / 0.8767 GB, free: 2.207 MB / 0.6856 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * 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 (15): * Single equations (assignments): 15 * 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.0004177/0.8007, allocations: 164.1 kB / 0.8769 GB, free: 2.039 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004311/0.8012, allocations: 191.2 kB / 0.8771 GB, free: 1.855 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.8012, allocations: 3.938 kB / 0.8771 GB, free: 1.852 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001918/0.8014, allocations: 96.45 kB / 0.8772 GB, free: 1.758 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007965/0.8022, allocations: 155.5 kB / 0.8773 GB, free: 1.609 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001211/0.8034, allocations: 0.704 MB / 0.878 GB, free: 0.8555 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005229/0.8039, allocations: 0.7875 MB / 0.8788 GB, free: 44 kB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002462/0.8042, allocations: 62.98 kB / 0.8788 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002137/0.8044, allocations: 27.44 kB / 0.8789 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of SimCode: time 2.8e-07/0.8044, allocations: 0 / 0.8789 GB, free: 15.95 MB / 0.7012 GB Notification: Performance of Templates: time 0.01116/0.8156, allocations: 5.27 MB / 0.884 GB, free: 10.78 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: