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.001472/0.001472, allocations: 107.4 kB / 16.29 MB, free: 6.43 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.001584/0.001584, allocations: 187.9 kB / 17.22 MB, free: 5.934 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.578/1.578, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.964/1.964, allocations: 292.3 MB / 0.5495 GB, free: 17.45 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.001499/0.001499, allocations: 75.88 kB / 0.6722 GB, free: 6.488 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2408/0.2423, allocations: 114.6 MB / 0.7841 GB, free: 3.82 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6773/0.9197, allocations: 167.4 MB / 0.9476 GB, free: 3.051 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004054/0.9238, allocations: 1.555 MB / 0.9491 GB, free: 1.496 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007125/0.9246, allocations: 11.94 kB / 0.9491 GB, free: 1.484 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0007692/0.9254, allocations: 150.8 kB / 0.9492 GB, free: 1.336 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.002471/0.9279, allocations: 0.7077 MB / 0.9499 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002073/0.93, allocations: 0.6043 MB / 0.9505 GB, free: 24 kB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001238/0.9313, allocations: 0.7098 MB / 0.9512 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005744/0.9319, allocations: 241.1 kB / 0.9514 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009526/0.9328, allocations: 346.7 kB / 0.9518 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004925/0.9333, allocations: 235 kB / 0.952 GB, free: 14.51 MB / 0.7481 GB Notification: Performance of NFPackage.collectConstants: time 8.244e-05/0.9334, allocations: 24 kB / 0.952 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001889/0.9353, allocations: 0.8612 MB / 0.9528 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of NFScalarize.scalarize: time 0.0002134/0.9356, allocations: 117 kB / 0.953 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of NFVerifyModel.verify: time 0.0003128/0.9359, allocations: 171.1 kB / 0.9531 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of NFConvertDAE.convert: time 0.001905/0.9378, allocations: 0.7402 MB / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.9378, allocations: 0 / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of FrontEnd: time 2.244e-06/0.9378, allocations: 0 / 0.9538 GB, free: 12.6 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 1.261e-05/0.9378, allocations: 0 / 0.9538 GB, free: 12.6 MB / 0.7481 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.001278/0.9391, allocations: 0.6611 MB / 0.9545 GB, free: 11.89 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 4.621e-05/0.9392, allocations: 8.031 kB / 0.9545 GB, free: 11.88 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001273/0.9405, allocations: 159.9 kB / 0.9547 GB, free: 11.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005399/0.941, allocations: 310.7 kB / 0.9549 GB, free: 11.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.232e-05/0.941, allocations: 16.5 kB / 0.955 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.491e-05/0.9411, allocations: 27.94 kB / 0.955 GB, free: 11.34 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/0.9417, allocations: 281.9 kB / 0.9553 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.505e-05/0.9417, allocations: 7.938 kB / 0.9553 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.706e-05/0.9417, allocations: 10.12 kB / 0.9553 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.368e-06/0.9417, allocations: 9.312 kB / 0.9553 GB, free: 11.02 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004604/0.9422, allocations: 200.9 kB / 0.9555 GB, free: 10.82 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.00163/0.9438, allocations: 1.227 MB / 0.9567 GB, free: 9.492 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002979/0.9441, allocations: 150.4 kB / 0.9568 GB, free: 9.336 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001817/0.9443, allocations: 96.8 kB / 0.9569 GB, free: 9.238 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006673/0.945, allocations: 303.2 kB / 0.9572 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.9451, allocations: 30.56 kB / 0.9572 GB, free: 8.848 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=17): time 2.565e-06/0.9451, allocations: 8 kB / 0.9572 GB, free: 8.84 MB / 0.7481 GB Notification: Performance of matching and sorting (n=17): time 0.0007961/0.9459, allocations: 285.5 kB / 0.9575 GB, free: 8.555 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.376e-05/0.9459, allocations: 59.31 kB / 0.9576 GB, free: 8.484 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003471/0.9463, allocations: 316.5 kB / 0.9579 GB, free: 8.16 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 3.017e-05/0.9463, allocations: 29.7 kB / 0.9579 GB, free: 8.125 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001558/0.9465, allocations: 192.1 kB / 0.9581 GB, free: 7.934 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 5.948e-05/0.9466, allocations: 59.11 kB / 0.9581 GB, free: 7.875 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.193e-05/0.9467, allocations: 55.11 kB / 0.9582 GB, free: 7.816 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001423/0.9468, allocations: 342.8 kB / 0.9585 GB, free: 7.473 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001711/0.947, allocations: 63.95 kB / 0.9586 GB, free: 7.41 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002185/0.9472, allocations: 135.1 kB / 0.9587 GB, free: 7.262 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003585/0.9476, allocations: 182.3 kB / 0.9589 GB, free: 7.066 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.9476, allocations: 4 kB / 0.9589 GB, free: 7.062 MB / 0.7481 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004862/0.9481, allocations: 257.7 kB / 0.9591 GB, free: 6.805 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.341e-05/0.9481, allocations: 8.781 kB / 0.9591 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/0.9481, allocations: 0 / 0.9591 GB, free: 6.797 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.007e-05/0.9482, allocations: 5.5 kB / 0.9591 GB, free: 6.793 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000211/0.9484, allocations: 43.91 kB / 0.9592 GB, free: 6.75 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.396e-06/0.9484, allocations: 4 kB / 0.9592 GB, free: 6.746 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000229/0.9486, allocations: 39.91 kB / 0.9592 GB, free: 6.707 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.552e-05/0.9487, allocations: 12 kB / 0.9592 GB, free: 6.695 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.0001541/0.9488, allocations: 149.7 kB / 0.9594 GB, free: 6.539 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.391e-05/0.9489, allocations: 36.36 kB / 0.9594 GB, free: 6.504 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005076/0.9494, allocations: 243.1 kB / 0.9596 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.749e-06/0.9494, allocations: 0 / 0.9596 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.384e-06/0.9495, allocations: 0 / 0.9596 GB, free: 6.266 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.362e-06/0.9495, allocations: 4 kB / 0.9596 GB, free: 6.262 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001105/0.9506, allocations: 0.7011 MB / 0.9603 GB, free: 5.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.142e-06/0.9506, allocations: 4 kB / 0.9603 GB, free: 5.48 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.9508, allocations: 35.91 kB / 0.9604 GB, free: 5.445 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.565e-06/0.9508, allocations: 4 kB / 0.9604 GB, free: 5.441 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.241e-05/0.9508, allocations: 8 kB / 0.9604 GB, free: 5.434 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.49e-06/0.9508, allocations: 3.938 kB / 0.9604 GB, free: 5.43 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.038e-06/0.9509, allocations: 7.938 kB / 0.9604 GB, free: 5.422 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007086/0.9516, allocations: 450.8 kB / 0.9608 GB, free: 4.945 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001333/0.9517, allocations: 120.7 kB / 0.9609 GB, free: 4.809 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.944e-05/0.9518, allocations: 9.812 kB / 0.9609 GB, free: 4.801 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001773/0.952, allocations: 11.94 kB / 0.961 GB, free: 4.789 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.903e-05/0.952, allocations: 19.91 kB / 0.961 GB, free: 4.77 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.9521, allocations: 4 kB / 0.961 GB, free: 4.766 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002753/0.9523, allocations: 235 kB / 0.9612 GB, free: 4.539 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9523, allocations: 4.062 kB / 0.9612 GB, free: 4.535 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0004607/0.9528, allocations: 83.84 kB / 0.9613 GB, free: 4.453 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.0005327/0.9534, allocations: 161.1 kB / 0.9614 GB, free: 4.297 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004965/0.9539, allocations: 191.9 kB / 0.9616 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.9539, allocations: 0 / 0.9616 GB, free: 4.109 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002079/0.9541, allocations: 97.78 kB / 0.9617 GB, free: 4.016 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009186/0.955, allocations: 174.5 kB / 0.9619 GB, free: 3.871 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00126/0.9563, allocations: 0.6144 MB / 0.9625 GB, free: 3.211 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004448/0.9568, allocations: 0.7873 MB / 0.9633 GB, free: 2.395 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0002726/0.957, allocations: 61.62 kB / 0.9633 GB, free: 2.336 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.337e-05/0.9571, allocations: 27.44 kB / 0.9633 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of SimCode: time 3.306e-06/0.9571, allocations: 0 / 0.9633 GB, free: 2.309 MB / 0.7481 GB Notification: Performance of Templates: time 0.01255/0.9697, allocations: 5.82 MB / 0.969 GB, free: 12.65 MB / 0.7637 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)