Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.752/2.752, allocations: 287.3 MB / 302.3 MB, free: 8.277 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001512/0.001511, allocations: 173.1 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.29/2.29, allocations: 205.4 MB / 0.6295 GB, free: 10.62 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001079/0.001079, allocations: 88.3 kB / 0.7428 GB, free: 6.617 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004819/0.000482, allocations: 12.86 kB / 0.8656 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2679/0.2684, allocations: 115.3 MB / 0.9782 GB, free: 28.42 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.969/1.237, allocations: 140.2 MB / 1.115 GB, free: 0.9727 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005669/1.243, allocations: 1.587 MB / 1.117 GB, free: 0.8438 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007205/1.244, allocations: 9.188 kB / 1.117 GB, free: 0.8398 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001306/1.245, allocations: 171.2 kB / 1.117 GB, free: 0.8086 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003402/1.249, allocations: 0.5198 MB / 1.117 GB, free: 0.7773 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003374/1.252, allocations: 483.8 kB / 1.118 GB, free: 0.7656 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001601/1.254, allocations: 435.4 kB / 1.118 GB, free: 0.7461 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007802/1.255, allocations: 182.9 kB / 1.118 GB, free: 0.7227 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001834/1.257, allocations: 338.8 kB / 1.119 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005508/1.257, allocations: 152.1 kB / 1.119 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.602e-05/1.257, allocations: 12.69 kB / 1.119 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002557/1.26, allocations: 421.6 kB / 1.119 GB, free: 0.6289 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003056/1.26, allocations: 91.45 kB / 1.119 GB, free: 0.6172 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002335/1.261, allocations: 81.77 kB / 1.119 GB, free: 0.5781 MB / 0.6823 GB Notification: Performance of NFConvertDAE.convert: time 0.001714/1.262, allocations: 395.6 kB / 1.12 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/1.262, allocations: 4 kB / 1.12 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.026e-06/1.262, allocations: 0 / 1.12 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.231e-05/1.262, allocations: 2.219 kB / 1.12 GB, free: 0.543 MB / 0.6823 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.001909/1.264, allocations: 0.6012 MB / 1.12 GB, free: 16.06 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.609e-05/1.264, allocations: 10.77 kB / 1.12 GB, free: 16.06 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002998/1.267, allocations: 161 kB / 1.121 GB, free: 16.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001041/1.268, allocations: 294.5 kB / 1.121 GB, free: 15.82 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.579e-05/1.269, allocations: 23.53 kB / 1.121 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.42e-05/1.269, allocations: 18.56 kB / 1.121 GB, free: 15.81 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000979/1.27, allocations: 278.9 kB / 1.121 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.577e-05/1.27, allocations: 0 / 1.121 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.258e-05/1.27, allocations: 7.844 kB / 1.121 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.491e-05/1.27, allocations: 8.641 kB / 1.121 GB, free: 15.73 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000667/1.27, allocations: 205.6 kB / 1.121 GB, free: 15.72 MB / 0.698 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.002111/1.273, allocations: 1.222 MB / 1.123 GB, free: 14.86 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004028/1.273, allocations: 142.2 kB / 1.123 GB, free: 14.84 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000641/1.274, allocations: 132.3 kB / 1.123 GB, free: 14.74 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.09e-05/1.274, allocations: 41.5 kB / 1.123 GB, free: 14.7 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 2.816e-06/1.274, allocations: 0 / 1.123 GB, free: 14.7 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001249/1.275, allocations: 292.8 kB / 1.123 GB, free: 14.64 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.559e-05/1.275, allocations: 56.42 kB / 1.123 GB, free: 14.58 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004639/1.275, allocations: 314.7 kB / 1.123 GB, free: 14.47 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.722e-05/1.276, allocations: 28.52 kB / 1.123 GB, free: 14.44 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001732/1.276, allocations: 183.2 kB / 1.124 GB, free: 14.33 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 6.562e-05/1.276, allocations: 52.88 kB / 1.124 GB, free: 14.3 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.508e-05/1.276, allocations: 3.438 kB / 1.124 GB, free: 14.3 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001612/1.276, allocations: 344.8 kB / 1.124 GB, free: 13.98 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002665/1.276, allocations: 71.2 kB / 1.124 GB, free: 13.98 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003342/1.277, allocations: 130.2 kB / 1.124 GB, free: 13.92 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002954/1.277, allocations: 78.69 kB / 1.124 GB, free: 13.92 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.277, allocations: 1.969 kB / 1.124 GB, free: 13.92 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0007747/1.278, allocations: 252.7 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.153e-05/1.278, allocations: 5.312 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.037e-06/1.278, allocations: 3.125 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.874e-05/1.278, allocations: 2.469 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003552/1.278, allocations: 43.88 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.061e-05/1.278, allocations: 6.156 kB / 1.125 GB, free: 13.86 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004093/1.279, allocations: 34.72 kB / 1.125 GB, free: 13.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.952e-05/1.279, allocations: 10.84 kB / 1.125 GB, free: 13.84 MB / 0.698 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.0002293/1.279, allocations: 156.4 kB / 1.125 GB, free: 13.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.441e-05/1.279, allocations: 28.44 kB / 1.125 GB, free: 13.71 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007287/1.28, allocations: 231.7 kB / 1.125 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.403e-06/1.28, allocations: 2.812 kB / 1.125 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/1.28, allocations: 0 / 1.125 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.611e-06/1.28, allocations: 2.156 kB / 1.125 GB, free: 13.66 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001614/1.281, allocations: 0.697 MB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.372e-06/1.281, allocations: 2.781 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003007/1.282, allocations: 33.31 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.648e-06/1.282, allocations: 4.391 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.532e-05/1.282, allocations: 7.531 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.147e-05/1.282, allocations: 6.953 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/1.282, allocations: 3.938 kB / 1.126 GB, free: 13.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001158/1.283, allocations: 0.5171 MB / 1.126 GB, free: 12.94 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002442/1.283, allocations: 126.6 kB / 1.126 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.942e-05/1.283, allocations: 5.766 kB / 1.126 GB, free: 12.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003315/1.284, allocations: 26.53 kB / 1.126 GB, free: 12.81 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.849e-05/1.284, allocations: 23.88 kB / 1.126 GB, free: 12.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.073e-05/1.284, allocations: 4.188 kB / 1.126 GB, free: 12.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003465/1.284, allocations: 221.9 kB / 1.127 GB, free: 12.73 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.2e-07/1.284, allocations: 0 / 1.127 GB, free: 12.73 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006119/1.285, allocations: 80.2 kB / 1.127 GB, free: 12.72 MB / 0.698 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.0005227/1.285, allocations: 166.4 kB / 1.127 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007339/1.286, allocations: 176.1 kB / 1.127 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 6.943e-06/1.286, allocations: 1.531 kB / 1.127 GB, free: 12.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003281/1.287, allocations: 100.9 kB / 1.127 GB, free: 12.59 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001449/1.288, allocations: 155.6 kB / 1.127 GB, free: 12.58 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00151/1.29, allocations: 0.7147 MB / 1.128 GB, free: 12.14 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004329/1.29, allocations: 0.7885 MB / 1.129 GB, free: 11.45 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004266/1.29, allocations: 59.11 kB / 1.129 GB, free: 11.44 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001021/1.291, allocations: 28.72 kB / 1.129 GB, free: 11.43 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.291, allocations: 4 kB / 1.129 GB, free: 11.43 MB / 0.698 GB Notification: Performance of Templates: time 0.01573/1.306, allocations: 5.259 MB / 1.134 GB, free: 10.07 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)