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.001395/0.001396, allocations: 109.5 kB / 16.41 MB, free: 6.453 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.001513/0.001514, allocations: 189.7 kB / 17.34 MB, free: 5.719 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.298/1.298, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002093/0.002094, allocations: 288.8 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.914/0.914, allocations: 169.2 MB / 0.499 GB, free: 4.434 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002006/0.002006, allocations: 108.2 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4516/0.4536, allocations: 86.98 MB / 0.7671 GB, free: 3.906 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1826/0.6362, allocations: 167.4 MB / 0.9305 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003164/0.6394, allocations: 1.566 MB / 0.9321 GB, free: 10.3 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005315/0.64, allocations: 7.938 kB / 0.9321 GB, free: 10.29 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005865/0.6406, allocations: 146.9 kB / 0.9322 GB, free: 10.15 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.6427, allocations: 0.7117 MB / 0.9329 GB, free: 9.434 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001722/0.6445, allocations: 0.5943 MB / 0.9335 GB, free: 8.84 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001049/0.6455, allocations: 0.7215 MB / 0.9342 GB, free: 8.117 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005023/0.646, allocations: 225.1 kB / 0.9344 GB, free: 7.898 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.6468, allocations: 354.7 kB / 0.9347 GB, free: 7.551 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004408/0.6473, allocations: 227 kB / 0.935 GB, free: 7.328 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.512e-05/0.6474, allocations: 24 kB / 0.935 GB, free: 7.305 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001736/0.6491, allocations: 0.8689 MB / 0.9358 GB, free: 6.434 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001783/0.6493, allocations: 107.7 kB / 0.9359 GB, free: 6.328 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002528/0.6496, allocations: 175.1 kB / 0.9361 GB, free: 6.156 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.0014/0.651, allocations: 0.735 MB / 0.9368 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.651, allocations: 0 / 0.9368 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.753e-06/0.651, allocations: 0 / 0.9368 GB, free: 5.422 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.62e-05/0.651, allocations: 4 kB / 0.9368 GB, free: 5.418 MB / 0.7012 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.0013/0.6523, allocations: 0.6622 MB / 0.9375 GB, free: 4.703 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.6524, allocations: 11.97 kB / 0.9375 GB, free: 4.691 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001248/0.6536, allocations: 155.5 kB / 0.9376 GB, free: 4.539 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006069/0.6542, allocations: 322.7 kB / 0.9379 GB, free: 4.188 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.847e-05/0.6543, allocations: 24.5 kB / 0.938 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.822e-05/0.6543, allocations: 31.88 kB / 0.938 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000534/0.6549, allocations: 281.8 kB / 0.9383 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.6549, allocations: 0 / 0.9383 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.402e-05/0.6549, allocations: 12 kB / 0.9383 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.584e-06/0.6549, allocations: 4 kB / 0.9383 GB, free: 3.824 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004313/0.6554, allocations: 208.9 kB / 0.9385 GB, free: 3.621 MB / 0.7012 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.001481/0.6569, allocations: 1.219 MB / 0.9397 GB, free: 2.297 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002931/0.6572, allocations: 154.3 kB / 0.9398 GB, free: 2.137 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001895/0.6574, allocations: 100.8 kB / 0.9399 GB, free: 2.035 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005505/0.6579, allocations: 299.2 kB / 0.9402 GB, free: 1.688 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.227e-05/0.658, allocations: 34.56 kB / 0.9402 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.442e-06/0.658, allocations: 0 / 0.9402 GB, free: 1.645 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007778/0.6588, allocations: 291.8 kB / 0.9405 GB, free: 1.355 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.739e-05/0.6588, allocations: 55.41 kB / 0.9406 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003474/0.6592, allocations: 328.4 kB / 0.9409 GB, free: 0.9609 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.322e-05/0.6592, allocations: 33.7 kB / 0.9409 GB, free: 0.9219 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001306/0.6593, allocations: 180.2 kB / 0.9411 GB, free: 0.7422 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.822e-05/0.6594, allocations: 63.09 kB / 0.9411 GB, free: 0.6797 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.662e-05/0.6595, allocations: 41.7 kB / 0.9412 GB, free: 0.6328 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001236/0.6596, allocations: 338.8 kB / 0.9415 GB, free: 300 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001905/0.6598, allocations: 67.95 kB / 0.9416 GB, free: 232 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002064/0.66, allocations: 135.9 kB / 0.9417 GB, free: 80 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003729/0.6604, allocations: 204.1 kB / 0.9419 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.709e-06/0.6604, allocations: 3.938 kB / 0.9419 GB, free: 15.86 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004864/0.6609, allocations: 257.2 kB / 0.9421 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/0.661, allocations: 4 kB / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.723e-06/0.661, allocations: 4 kB / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/0.661, allocations: 3.984 kB / 0.9421 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002003/0.6612, allocations: 48.02 kB / 0.9422 GB, free: 15.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.286e-05/0.6612, allocations: 7.984 kB / 0.9422 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002092/0.6614, allocations: 31.67 kB / 0.9422 GB, free: 15.5 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.883e-05/0.6615, allocations: 8 kB / 0.9422 GB, free: 15.49 MB / 0.7169 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.0001633/0.6616, allocations: 161.7 kB / 0.9424 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.126e-05/0.6617, allocations: 27.62 kB / 0.9424 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000479/0.6622, allocations: 231.8 kB / 0.9426 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.029e-06/0.6622, allocations: 7.938 kB / 0.9426 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.6622, allocations: 0 / 0.9426 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.667e-06/0.6622, allocations: 0 / 0.9426 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00106/0.6633, allocations: 0.7145 MB / 0.9433 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.346e-06/0.6633, allocations: 0 / 0.9433 GB, free: 14.26 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001701/0.6635, allocations: 31.98 kB / 0.9434 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.97e-06/0.6635, allocations: 3.938 kB / 0.9434 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.6635, allocations: 8 kB / 0.9434 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-06/0.6635, allocations: 7.938 kB / 0.9434 GB, free: 14.21 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.886e-06/0.6635, allocations: 8.219 kB / 0.9434 GB, free: 14.2 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007424/0.6643, allocations: 448.9 kB / 0.9438 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001574/0.6645, allocations: 124.6 kB / 0.9439 GB, free: 13.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.731e-05/0.6645, allocations: 8 kB / 0.944 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001772/0.6647, allocations: 19.92 kB / 0.944 GB, free: 13.56 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.672e-05/0.6648, allocations: 11.98 kB / 0.944 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.361e-05/0.6648, allocations: 12.06 kB / 0.944 GB, free: 13.54 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002499/0.665, allocations: 227 kB / 0.9442 GB, free: 13.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.6e-07/0.6651, allocations: 4 kB / 0.9442 GB, free: 13.31 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004005/0.6655, allocations: 83.91 kB / 0.9443 GB, free: 13.23 MB / 0.7169 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.0004188/0.6659, allocations: 156.1 kB / 0.9444 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004407/0.6663, allocations: 187.7 kB / 0.9446 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.165e-06/0.6663, allocations: 0 / 0.9446 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.000197/0.6666, allocations: 92.45 kB / 0.9447 GB, free: 12.8 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000857/0.6674, allocations: 176 kB / 0.9449 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0012/0.6686, allocations: 0.6549 MB / 0.9455 GB, free: 11.93 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004669/0.6691, allocations: 0.7795 MB / 0.9463 GB, free: 11.12 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.907e-05/0.6692, allocations: 31.44 kB / 0.9463 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of SimCode: time 2.1e-07/0.6692, allocations: 0 / 0.9463 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of Templates: time 0.007751/0.677, allocations: 4.941 MB / 0.9511 GB, free: 6.215 MB / 0.7169 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)