Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(Buildings.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.0008382/0.0008382, allocations: 90.75 kB / 15.36 MB, free: 0.7383 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.007616/0.007616, allocations: 172.6 kB / 16.26 MB, free: 6.613 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.598/1.598, allocations: 205.4 MB / 222.4 MB, free: 5.555 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.817/1.817, allocations: 292.7 MB / 0.5502 GB, free: 14.49 MB / 462.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.0005903/0.0005904, allocations: 12.56 kB / 0.6743 GB, free: 25.8 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.281/0.2816, allocations: 116.3 MB / 0.7879 GB, free: 11.59 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.VolumeFlowRate): time 0.8373/1.119, allocations: 163 MB / 0.947 GB, free: 0.75 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003248/1.122, allocations: 1.548 MB / 0.9485 GB, free: 0.5977 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003438/1.123, allocations: 10.22 kB / 0.9485 GB, free: 0.5938 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005302/1.123, allocations: 116.8 kB / 0.9487 GB, free: 0.5508 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002019/1.125, allocations: 0.6652 MB / 0.9493 GB, free: 420 kB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001804/1.127, allocations: 0.5472 MB / 0.9498 GB, free: 356 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001466/1.128, allocations: 0.9789 MB / 0.9508 GB, free: 228 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004234/1.129, allocations: 199.7 kB / 0.951 GB, free: 196 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008297/1.13, allocations: 302.5 kB / 0.9513 GB, free: 152 kB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004429/1.13, allocations: 226.8 kB / 0.9515 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.525e-05/1.13, allocations: 13.5 kB / 0.9515 GB, free: 144 kB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002611/1.133, allocations: 1.01 MB / 0.9525 GB, free: 44 kB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/1.133, allocations: 98.45 kB / 0.9526 GB, free: 44 kB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002466/1.133, allocations: 174.3 kB / 0.9527 GB, free: 12 kB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001419/1.135, allocations: 0.7676 MB / 0.9535 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.981e-06/1.135, allocations: 5.438 kB / 0.9535 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.305e-06/1.135, allocations: 0 / 0.9535 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.404e-06/1.135, allocations: 0 / 0.9535 GB, free: 15.96 MB / 0.7325 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.001057/1.136, allocations: 0.5948 MB / 0.9541 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.961e-05/1.136, allocations: 8.688 kB / 0.9541 GB, free: 15.48 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/1.137, allocations: 157.1 kB / 0.9542 GB, free: 15.46 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005395/1.138, allocations: 312.1 kB / 0.9545 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.838e-05/1.138, allocations: 16.38 kB / 0.9546 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/1.138, allocations: 24.41 kB / 0.9546 GB, free: 15.23 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005451/1.138, allocations: 278.8 kB / 0.9548 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.575e-05/1.138, allocations: 7.875 kB / 0.9548 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.565e-05/1.138, allocations: 10.28 kB / 0.9549 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.094e-05/1.138, allocations: 4.812 kB / 0.9549 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004416/1.139, allocations: 203 kB / 0.9551 GB, free: 15.13 MB / 0.7325 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.001728/1.141, allocations: 1.213 MB / 0.9562 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003084/1.141, allocations: 148.1 kB / 0.9564 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/1.141, allocations: 95.44 kB / 0.9565 GB, free: 14.24 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006582/1.142, allocations: 322.7 kB / 0.9568 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.821e-05/1.142, allocations: 36.44 kB / 0.9568 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.453e-06/1.142, allocations: 0 / 0.9568 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0008136/1.143, allocations: 298.2 kB / 0.9571 GB, free: 13.86 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.181e-05/1.143, allocations: 52.78 kB / 0.9572 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000323/1.143, allocations: 318 kB / 0.9575 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.534e-05/1.143, allocations: 26.98 kB / 0.9575 GB, free: 13.64 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001536/1.143, allocations: 183 kB / 0.9577 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.408e-05/1.143, allocations: 54.94 kB / 0.9577 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.641e-05/1.143, allocations: 24.67 kB / 0.9577 GB, free: 13.48 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001386/1.143, allocations: 341.6 kB / 0.9581 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001755/1.144, allocations: 70.27 kB / 0.9581 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002271/1.144, allocations: 127.5 kB / 0.9582 GB, free: 13.12 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003766/1.144, allocations: 201.5 kB / 0.9584 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/1.144, allocations: 1.188 kB / 0.9584 GB, free: 13.06 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005182/1.145, allocations: 254.6 kB / 0.9587 GB, free: 13 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.203e-05/1.145, allocations: 5.5 kB / 0.9587 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/1.145, allocations: 2.219 kB / 0.9587 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.145, allocations: 2.266 kB / 0.9587 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000216/1.145, allocations: 48.25 kB / 0.9587 GB, free: 13 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.816e-06/1.145, allocations: 5.344 kB / 0.9587 GB, free: 12.99 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002663/1.145, allocations: 46.03 kB / 0.9588 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.599e-05/1.145, allocations: 11.22 kB / 0.9588 GB, free: 12.97 MB / 0.7325 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001658/1.146, allocations: 150.1 kB / 0.9589 GB, free: 12.85 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.554e-05/1.146, allocations: 25.84 kB / 0.959 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005246/1.146, allocations: 229.8 kB / 0.9592 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.977e-06/1.146, allocations: 2.5 kB / 0.9592 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/1.146, allocations: 1.688 kB / 0.9592 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.991e-06/1.146, allocations: 3.484 kB / 0.9592 GB, free: 12.8 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001189/1.147, allocations: 0.7006 MB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.107e-06/1.147, allocations: 1.156 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001853/1.148, allocations: 31.39 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.065e-05/1.148, allocations: 5.734 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.568e-05/1.148, allocations: 7.281 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.226e-06/1.148, allocations: 6.125 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.747e-06/1.148, allocations: 2.281 kB / 0.9599 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007819/1.149, allocations: 455.3 kB / 0.9604 GB, free: 12.19 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001269/1.149, allocations: 122.2 kB / 0.9605 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.063e-05/1.149, allocations: 11.09 kB / 0.9605 GB, free: 12.08 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001976/1.149, allocations: 25.36 kB / 0.9605 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.966e-05/1.149, allocations: 11.47 kB / 0.9605 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.613e-05/1.149, allocations: 9.969 kB / 0.9605 GB, free: 12.07 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.000256/1.149, allocations: 224.8 kB / 0.9607 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.21e-07/1.149, allocations: 0 / 0.9607 GB, free: 11.99 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004721/1.15, allocations: 75.84 kB / 0.9608 GB, free: 11.99 MB / 0.7325 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 (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.0004853/1.15, allocations: 174.8 kB / 0.961 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0005131/1.151, allocations: 179 kB / 0.9612 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/1.151, allocations: 0 / 0.9612 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0002129/1.151, allocations: 92.36 kB / 0.9612 GB, free: 11.86 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001047/1.152, allocations: 164.6 kB / 0.9614 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001183/1.153, allocations: 0.7336 MB / 0.9621 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003776/1.154, allocations: 0.7755 MB / 0.9629 GB, free: 10.68 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002587/1.154, allocations: 66.02 kB / 0.9629 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.127e-05/1.154, allocations: 24.06 kB / 0.963 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of SimCode: time 2.014e-06/1.154, allocations: 1.031 kB / 0.963 GB, free: 10.66 MB / 0.7325 GB Notification: Performance of Templates: time 0.01273/1.167, allocations: 5.445 MB / 0.9683 GB, free: 8.988 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) Environment - environmentSimulation: