Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.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.001076/0.001076, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00125/0.00125, allocations: 195.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002168/0.002167, allocations: 275.2 kB / 290.7 MB, free: 1.969 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.955/0.955, allocations: 169.3 MB / 0.4982 GB, free: 13.94 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001932/0.001933, allocations: 100.8 kB / 0.5952 GB, free: 28 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1485, allocations: 86.98 MB / 0.6802 GB, free: 0.6758 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4827/0.6312, allocations: 167.4 MB / 0.8436 GB, free: 152 kB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002778/0.634, allocations: 1.555 MB / 0.8452 GB, free: 15.76 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003264/0.6344, allocations: 17 kB / 0.8452 GB, free: 15.75 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.0004777/0.6349, allocations: 143.2 kB / 0.8453 GB, free: 15.65 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001737/0.6367, allocations: 0.7164 MB / 0.846 GB, free: 15.39 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001443/0.6381, allocations: 0.5965 MB / 0.8466 GB, free: 15.03 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007616/0.6389, allocations: 0.7226 MB / 0.8473 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003648/0.6393, allocations: 232.4 kB / 0.8475 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005833/0.6399, allocations: 344.1 kB / 0.8478 GB, free: 14.33 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002735/0.6401, allocations: 225.7 kB / 0.8481 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.425e-05/0.6402, allocations: 23.94 kB / 0.8481 GB, free: 14.22 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001393/0.6416, allocations: 0.8695 MB / 0.8489 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001135/0.6417, allocations: 114.9 kB / 0.849 GB, free: 13.77 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001479/0.6419, allocations: 170.4 kB / 0.8492 GB, free: 13.66 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0009296/0.6428, allocations: 0.7267 MB / 0.8499 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.6428, allocations: 0 / 0.8499 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.694e-06/0.6428, allocations: 2.969 kB / 0.8499 GB, free: 13.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 8.977e-06/0.6429, allocations: 0 / 0.8499 GB, free: 13.28 MB / 0.5762 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.0009022/0.6438, allocations: 0.6631 MB / 0.8506 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.541e-05/0.6438, allocations: 14.47 kB / 0.8506 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001077/0.6449, allocations: 152.1 kB / 0.8507 GB, free: 12.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003692/0.6453, allocations: 313.9 kB / 0.851 GB, free: 12.33 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.827e-05/0.6453, allocations: 19.06 kB / 0.851 GB, free: 12.32 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.99e-05/0.6453, allocations: 24.25 kB / 0.8511 GB, free: 12.31 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004511/0.6458, allocations: 286.5 kB / 0.8513 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.209e-05/0.6458, allocations: 3.984 kB / 0.8513 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.202e-05/0.6458, allocations: 6.781 kB / 0.8514 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.656e-06/0.6459, allocations: 7.219 kB / 0.8514 GB, free: 12.11 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003835/0.6462, allocations: 200.2 kB / 0.8515 GB, free: 12.02 MB / 0.5762 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.001272/0.6475, allocations: 1.226 MB / 0.8527 GB, free: 10.9 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002666/0.6478, allocations: 149.2 kB / 0.8529 GB, free: 10.82 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001636/0.648, allocations: 94.7 kB / 0.853 GB, free: 10.77 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005762/0.6486, allocations: 308 kB / 0.8533 GB, free: 10.46 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.6486, allocations: 34.55 kB / 0.8533 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 2.735e-06/0.6486, allocations: 0 / 0.8533 GB, free: 10.41 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007322/0.6493, allocations: 306.8 kB / 0.8536 GB, free: 10.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.108e-05/0.6494, allocations: 53.25 kB / 0.8536 GB, free: 10.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002882/0.6497, allocations: 320.3 kB / 0.854 GB, free: 9.988 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.131e-05/0.6497, allocations: 28.3 kB / 0.854 GB, free: 9.957 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.6498, allocations: 192 kB / 0.8542 GB, free: 9.785 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 4.206e-05/0.6499, allocations: 54.95 kB / 0.8542 GB, free: 9.738 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.231e-05/0.65, allocations: 54.48 kB / 0.8543 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001213/0.6501, allocations: 345.6 kB / 0.8546 GB, free: 9.355 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001606/0.6503, allocations: 70.3 kB / 0.8547 GB, free: 9.324 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.6505, allocations: 128 kB / 0.8548 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000333/0.6508, allocations: 199.6 kB / 0.855 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.973e-06/0.6508, allocations: 0 / 0.855 GB, free: 9.102 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004368/0.6513, allocations: 252.2 kB / 0.8552 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.413e-05/0.6513, allocations: 7.969 kB / 0.8552 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.611e-06/0.6513, allocations: 0.5 kB / 0.8552 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.6513, allocations: 2.094 kB / 0.8552 GB, free: 8.965 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002189/0.6515, allocations: 51.19 kB / 0.8553 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.973e-06/0.6516, allocations: 2.594 kB / 0.8553 GB, free: 8.949 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001887/0.6517, allocations: 35.17 kB / 0.8553 GB, free: 8.926 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.452e-05/0.6518, allocations: 7.938 kB / 0.8553 GB, free: 8.926 MB / 0.5762 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.0001254/0.6519, allocations: 157.9 kB / 0.8555 GB, free: 8.781 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.251e-05/0.652, allocations: 28.66 kB / 0.8555 GB, free: 8.766 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000454/0.6524, allocations: 234.5 kB / 0.8557 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.787e-06/0.6524, allocations: 2.625 kB / 0.8557 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-06/0.6525, allocations: 0 / 0.8557 GB, free: 8.629 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.23e-06/0.6525, allocations: 7.922 kB / 0.8557 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.6534, allocations: 0.7013 MB / 0.8564 GB, free: 8.035 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.276e-06/0.6534, allocations: 9.281 kB / 0.8564 GB, free: 8.031 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.6536, allocations: 39.3 kB / 0.8565 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.707e-06/0.6536, allocations: 3.062 kB / 0.8565 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.401e-05/0.6536, allocations: 2.719 kB / 0.8565 GB, free: 8.02 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/0.6536, allocations: 12.77 kB / 0.8565 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.6537, allocations: 0 / 0.8565 GB, free: 8.012 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005963/0.6543, allocations: 449.3 kB / 0.8569 GB, free: 7.68 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.6544, allocations: 123.8 kB / 0.857 GB, free: 7.555 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.438e-05/0.6544, allocations: 8.562 kB / 0.857 GB, free: 7.551 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001704/0.6546, allocations: 17.2 kB / 0.8571 GB, free: 7.539 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.542e-05/0.6547, allocations: 15.52 kB / 0.8571 GB, free: 7.531 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.161e-05/0.6547, allocations: 8.938 kB / 0.8571 GB, free: 7.527 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001876/0.6549, allocations: 233.5 kB / 0.8573 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.1e-07/0.6549, allocations: 0 / 0.8573 GB, free: 7.375 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003688/0.6552, allocations: 90.11 kB / 0.8574 GB, free: 7.355 MB / 0.5762 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.0003564/0.6556, allocations: 158.3 kB / 0.8575 GB, free: 7.242 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004036/0.656, allocations: 186.5 kB / 0.8577 GB, free: 7.16 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.656, allocations: 4.188 kB / 0.8577 GB, free: 7.156 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.6562, allocations: 96.75 kB / 0.8578 GB, free: 7.113 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008543/0.6571, allocations: 170 kB / 0.858 GB, free: 7.027 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000901/0.658, allocations: 0.6403 MB / 0.8586 GB, free: 6.559 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000301/0.6583, allocations: 0.7779 MB / 0.8594 GB, free: 5.82 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.6585, allocations: 70.97 kB / 0.8594 GB, free: 5.785 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.545e-05/0.6586, allocations: 29.77 kB / 0.8595 GB, free: 5.777 MB / 0.5762 GB Notification: Performance of SimCode: time 3.5e-07/0.6586, allocations: 4 kB / 0.8595 GB, free: 5.773 MB / 0.5762 GB Notification: Performance of Templates: time 0.009453/0.668, allocations: 5.813 MB / 0.8651 GB, free: 2.953 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)