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.572/2.572, allocations: 287.5 MB / 302.4 MB, free: 8.25 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.001404/0.001403, allocations: 189.9 kB / 371 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.258/2.258, allocations: 205.4 MB / 0.6297 GB, free: 10.64 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.0013/0.0013, allocations: 96.39 kB / 0.743 GB, free: 6.645 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0005187/0.0005189, allocations: 13.47 kB / 0.8658 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2206/0.2212, allocations: 115.3 MB / 0.9784 GB, free: 28.41 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 1.063/1.284, allocations: 152 MB / 1.127 GB, free: 0.8594 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.005445/1.29, allocations: 1.469 MB / 1.128 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007618/1.29, allocations: 15.72 kB / 1.128 GB, free: 0.7109 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0009017/1.291, allocations: 104.2 kB / 1.128 GB, free: 0.668 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.003357/1.295, allocations: 0.5076 MB / 1.129 GB, free: 0.543 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.003102/1.298, allocations: 451.5 kB / 1.129 GB, free: 0.4922 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.002055/1.3, allocations: 0.8324 MB / 1.13 GB, free: 376 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007483/1.301, allocations: 171.7 kB / 1.13 GB, free: 352 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001501/1.302, allocations: 307.2 kB / 1.131 GB, free: 284 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006528/1.303, allocations: 220.9 kB / 1.131 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 9.506e-05/1.303, allocations: 13.94 kB / 1.131 GB, free: 240 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002862/1.306, allocations: 463.1 kB / 1.131 GB, free: 184 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0003103/1.306, allocations: 98.89 kB / 1.131 GB, free: 172 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002617/1.307, allocations: 91.3 kB / 1.131 GB, free: 16.12 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001685/1.308, allocations: 440 kB / 1.132 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 7.564e-06/1.308, allocations: 0 / 1.132 GB, free: 16.08 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.896e-06/1.308, allocations: 0 / 1.132 GB, free: 16.08 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.052e-05/1.308, allocations: 0 / 1.132 GB, free: 16.08 MB / 0.698 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.001759/1.31, allocations: 0.5988 MB / 1.132 GB, free: 15.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.373e-05/1.31, allocations: 14.66 kB / 1.132 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002779/1.313, allocations: 149.9 kB / 1.133 GB, free: 15.58 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009516/1.314, allocations: 304.5 kB / 1.133 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.542e-05/1.314, allocations: 17 kB / 1.133 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.814e-05/1.314, allocations: 22.59 kB / 1.133 GB, free: 15.35 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001085/1.315, allocations: 279.7 kB / 1.133 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.11e-05/1.316, allocations: 0 / 1.133 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.672e-05/1.316, allocations: 8.656 kB / 1.133 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.026e-05/1.316, allocations: 10.45 kB / 1.133 GB, free: 15.26 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001008/1.317, allocations: 207.5 kB / 1.133 GB, free: 15.25 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.002957/1.32, allocations: 1.216 MB / 1.135 GB, free: 14.4 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005717/1.32, allocations: 144.3 kB / 1.135 GB, free: 14.37 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/1.321, allocations: 98.05 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/1.322, allocations: 314.6 kB / 1.135 GB, free: 14.08 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.996e-05/1.322, allocations: 30.56 kB / 1.135 GB, free: 14.04 MB / 0.698 GB Notification: Performance of pre-optimization done (n=15): time 4.399e-06/1.322, allocations: 4 kB / 1.135 GB, free: 14.04 MB / 0.698 GB Notification: Performance of matching and sorting (n=15): time 0.001795/1.324, allocations: 296.7 kB / 1.135 GB, free: 13.98 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.3e-05/1.324, allocations: 55.41 kB / 1.135 GB, free: 13.92 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007881/1.325, allocations: 315.9 kB / 1.136 GB, free: 13.8 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 6.758e-05/1.325, allocations: 28.95 kB / 1.136 GB, free: 13.77 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002542/1.325, allocations: 177.1 kB / 1.136 GB, free: 13.67 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/1.325, allocations: 58.17 kB / 1.136 GB, free: 13.63 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.282e-05/1.325, allocations: 3.25 kB / 1.136 GB, free: 13.63 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0002297/1.326, allocations: 343.2 kB / 1.136 GB, free: 13.32 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004708/1.326, allocations: 73.39 kB / 1.136 GB, free: 13.31 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005412/1.327, allocations: 123.7 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004884/1.327, allocations: 85.97 kB / 1.137 GB, free: 13.26 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/1.327, allocations: 3.5 kB / 1.137 GB, free: 13.26 MB / 0.698 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001322/1.329, allocations: 251.7 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 3.236e-05/1.329, allocations: 9.219 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.626e-05/1.329, allocations: 3.984 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.514e-05/1.329, allocations: 2.969 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005754/1.329, allocations: 45.8 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.494e-05/1.329, allocations: 1.406 kB / 1.137 GB, free: 13.19 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006709/1.33, allocations: 34.27 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.061e-05/1.33, allocations: 12.84 kB / 1.137 GB, free: 13.18 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.0003407/1.33, allocations: 159 kB / 1.137 GB, free: 13.05 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001276/1.331, allocations: 27.94 kB / 1.137 GB, free: 13.04 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001208/1.332, allocations: 228.2 kB / 1.137 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.705e-06/1.332, allocations: 3.375 kB / 1.137 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.155e-06/1.332, allocations: 0 / 1.137 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.747e-06/1.332, allocations: 0 / 1.137 GB, free: 12.99 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00261/1.335, allocations: 0.696 MB / 1.138 GB, free: 12.61 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.198e-06/1.335, allocations: 13.42 kB / 1.138 GB, free: 12.6 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005019/1.335, allocations: 37.73 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/1.335, allocations: 3.219 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.111e-05/1.335, allocations: 9.5 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.737e-06/1.335, allocations: 2.656 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.335, allocations: 2.688 kB / 1.138 GB, free: 12.59 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001712/1.337, allocations: 451.4 kB / 1.139 GB, free: 12.38 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00022/1.337, allocations: 121.5 kB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.812e-05/1.337, allocations: 6.562 kB / 1.139 GB, free: 12.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003239/1.338, allocations: 25.89 kB / 1.139 GB, free: 12.26 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.94e-05/1.338, allocations: 13.08 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/1.338, allocations: 9.969 kB / 1.139 GB, free: 12.25 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003145/1.338, allocations: 223.8 kB / 1.139 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.21e-07/1.338, allocations: 3.938 kB / 1.139 GB, free: 12.17 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005966/1.339, allocations: 74.44 kB / 1.139 GB, free: 12.17 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.0004827/1.339, allocations: 165 kB / 1.139 GB, free: 12.07 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000672/1.34, allocations: 172.9 kB / 1.139 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.238e-06/1.34, allocations: 4.188 kB / 1.139 GB, free: 12.06 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.00034/1.34, allocations: 90.84 kB / 1.139 GB, free: 12.05 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001564/1.342, allocations: 166.5 kB / 1.14 GB, free: 12.03 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001578/1.343, allocations: 0.7104 MB / 1.14 GB, free: 11.6 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004457/1.344, allocations: 0.7766 MB / 1.141 GB, free: 10.9 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004736/1.344, allocations: 62.52 kB / 1.141 GB, free: 10.89 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001099/1.345, allocations: 30.47 kB / 1.141 GB, free: 10.88 MB / 0.698 GB Notification: Performance of SimCode: time 1.513e-06/1.345, allocations: 0 / 1.141 GB, free: 10.88 MB / 0.698 GB Notification: Performance of Templates: time 0.01732/1.362, allocations: 5.269 MB / 1.146 GB, free: 8.98 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)