Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00118/0.00118, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001375/0.001376, allocations: 194.7 kB / 16.25 MB, free: 6.621 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.605/1.605, allocations: 205.1 MB / 222.1 MB, free: 4.672 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.918/1.918, allocations: 292.2 MB / 0.5485 GB, free: 13.65 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.001447/0.001447, allocations: 69.14 kB / 0.671 GB, free: 26.29 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2705/0.2719, allocations: 114.6 MB / 0.7828 GB, free: 13.92 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.8377/1.11, allocations: 165.1 MB / 0.9441 GB, free: 5.953 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.00377/1.114, allocations: 1.553 MB / 0.9456 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005372/1.114, allocations: 12.09 kB / 0.9456 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007326/1.115, allocations: 125 kB / 0.9458 GB, free: 5.902 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002313/1.117, allocations: 0.6659 MB / 0.9464 GB, free: 5.871 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002119/1.119, allocations: 0.5559 MB / 0.947 GB, free: 5.848 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001082/1.12, allocations: 0.7191 MB / 0.9477 GB, free: 5.844 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004169/1.121, allocations: 235.6 kB / 0.9479 GB, free: 5.816 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000719/1.122, allocations: 355.4 kB / 0.9482 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003472/1.122, allocations: 238.9 kB / 0.9485 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.77e-05/1.122, allocations: 23.44 kB / 0.9485 GB, free: 5.809 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001853/1.124, allocations: 0.8945 MB / 0.9494 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001785/1.124, allocations: 114.9 kB / 0.9495 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002492/1.124, allocations: 167 kB / 0.9496 GB, free: 5.801 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001393/1.126, allocations: 0.7891 MB / 0.9504 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 7.083e-06/1.126, allocations: 0 / 0.9504 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.773e-06/1.126, allocations: 1.031 kB / 0.9504 GB, free: 5.762 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.414e-06/1.126, allocations: 4 kB / 0.9504 GB, free: 5.758 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.001635/1.127, allocations: 0.6631 MB / 0.951 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 5.438e-05/1.128, allocations: 9.531 kB / 0.9511 GB, free: 21.27 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001304/1.129, allocations: 154.5 kB / 0.9512 GB, free: 21.25 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005394/1.129, allocations: 311.2 kB / 0.9515 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.448e-05/1.129, allocations: 17.44 kB / 0.9515 GB, free: 21.02 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.365e-05/1.129, allocations: 30.78 kB / 0.9515 GB, free: 21.01 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006975/1.13, allocations: 282.9 kB / 0.9518 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.589e-05/1.13, allocations: 0.8438 kB / 0.9518 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.36e-05/1.13, allocations: 12.06 kB / 0.9518 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/1.13, allocations: 5.562 kB / 0.9518 GB, free: 20.93 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000551/1.131, allocations: 202.9 kB / 0.952 GB, free: 20.93 MB / 0.7481 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.001893/1.133, allocations: 1.23 MB / 0.9532 GB, free: 20.09 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003751/1.133, allocations: 156.8 kB / 0.9534 GB, free: 20.06 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002291/1.133, allocations: 95.12 kB / 0.9535 GB, free: 20.05 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007531/1.134, allocations: 302.5 kB / 0.9538 GB, free: 19.77 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.577e-05/1.134, allocations: 36.38 kB / 0.9538 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 3.447e-06/1.134, allocations: 0.5938 kB / 0.9538 GB, free: 19.73 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0009066/1.135, allocations: 300.6 kB / 0.9541 GB, free: 19.68 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.616e-05/1.135, allocations: 53.06 kB / 0.9541 GB, free: 19.61 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004178/1.136, allocations: 319.7 kB / 0.9544 GB, free: 19.5 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 2.845e-05/1.136, allocations: 31.89 kB / 0.9545 GB, free: 19.46 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001779/1.136, allocations: 185.6 kB / 0.9546 GB, free: 19.36 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.828e-05/1.136, allocations: 61.89 kB / 0.9547 GB, free: 19.32 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001078/1.136, allocations: 45.34 kB / 0.9547 GB, free: 19.3 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.136, allocations: 339.2 kB / 0.9551 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002273/1.136, allocations: 68.41 kB / 0.9551 GB, free: 18.99 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000268/1.137, allocations: 132.7 kB / 0.9553 GB, free: 18.93 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004134/1.137, allocations: 199.1 kB / 0.9554 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.118e-06/1.137, allocations: 2.062 kB / 0.9554 GB, free: 18.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005449/1.138, allocations: 255.5 kB / 0.9557 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.734e-05/1.138, allocations: 5.375 kB / 0.9557 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.044e-05/1.138, allocations: 4.656 kB / 0.9557 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.406e-05/1.138, allocations: 2.281 kB / 0.9557 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002455/1.138, allocations: 45.11 kB / 0.9557 GB, free: 18.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.044e-05/1.138, allocations: 6.844 kB / 0.9558 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002404/1.138, allocations: 36.59 kB / 0.9558 GB, free: 18.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.904e-05/1.138, allocations: 13.16 kB / 0.9558 GB, free: 18.81 MB / 0.7481 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 (24): * Single equations (assignments): 24 * 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.0001818/1.139, allocations: 153.8 kB / 0.9559 GB, free: 18.69 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.013e-05/1.139, allocations: 27.5 kB / 0.956 GB, free: 18.68 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006025/1.139, allocations: 228.6 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.502e-06/1.139, allocations: 5.031 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.675e-06/1.139, allocations: 0.5312 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/1.139, allocations: 2.719 kB / 0.9562 GB, free: 18.64 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001377/1.141, allocations: 0.7062 MB / 0.9569 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.082e-06/1.141, allocations: 1.922 kB / 0.9569 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002107/1.141, allocations: 36.3 kB / 0.9569 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.019e-05/1.141, allocations: 10.11 kB / 0.9569 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.586e-05/1.141, allocations: 7.062 kB / 0.9569 GB, free: 18.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.556e-06/1.141, allocations: 12.08 kB / 0.957 GB, free: 18.26 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.58e-06/1.141, allocations: 6.062 kB / 0.957 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00082/1.142, allocations: 446.2 kB / 0.9574 GB, free: 18.05 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001358/1.142, allocations: 126.2 kB / 0.9575 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.014e-05/1.142, allocations: 2.938 kB / 0.9575 GB, free: 17.94 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002047/1.142, allocations: 24.41 kB / 0.9575 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.197e-05/1.142, allocations: 22.7 kB / 0.9576 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.193e-05/1.142, allocations: 5.531 kB / 0.9576 GB, free: 17.93 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0004392/1.143, allocations: 232.2 kB / 0.9578 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/1.143, allocations: 1.203 kB / 0.9578 GB, free: 17.85 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.00058/1.143, allocations: 84.03 kB / 0.9579 GB, free: 17.84 MB / 0.7481 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 (17): * Single equations (assignments): 17 * 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.0005581/1.144, allocations: 160.8 kB / 0.958 GB, free: 17.74 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0005168/1.144, allocations: 189.3 kB / 0.9582 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/1.144, allocations: 0 / 0.9582 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.000196/1.145, allocations: 90.98 kB / 0.9583 GB, free: 17.73 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009388/1.146, allocations: 177.7 kB / 0.9584 GB, free: 17.7 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/1.147, allocations: 0.7235 MB / 0.9592 GB, free: 17.25 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004154/1.147, allocations: 0.7804 MB / 0.9599 GB, free: 16.55 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002416/1.147, allocations: 61.92 kB / 0.96 GB, free: 16.54 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.258e-05/1.148, allocations: 28.98 kB / 0.96 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of SimCode: time 3.3e-07/1.148, allocations: 0 / 0.96 GB, free: 16.53 MB / 0.7481 GB Notification: Performance of Templates: time 0.01301/1.161, allocations: 5.737 MB / 0.9656 GB, free: 16.18 MB / 0.7481 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)