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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.8026/0.8026, allocations: 143.4 MB / 159.2 MB, free: 4.914 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 187.1 kB / 191.9 MB, free: 5.699 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.39/1.39, allocations: 222.9 MB / 447.4 MB, free: 5.867 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001095/0.001094, allocations: 95.64 kB / 0.517 GB, free: 3.719 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001957/0.001957, allocations: 293.4 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00139/0.00139, allocations: 83.88 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3383, allocations: 81.3 MB / 0.7679 GB, free: 27.65 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5281/0.8664, allocations: 165.2 MB / 0.9292 GB, free: 452 kB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.00285/0.8693, allocations: 1.571 MB / 0.9308 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003414/0.8697, allocations: 11.95 kB / 0.9308 GB, free: 392 kB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0004595/0.8702, allocations: 116.5 kB / 0.9309 GB, free: 388 kB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.001572/0.8718, allocations: 0.6703 MB / 0.9315 GB, free: 352 kB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.8731, allocations: 0.5526 MB / 0.9321 GB, free: 328 kB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000982/0.8741, allocations: 0.9857 MB / 0.933 GB, free: 324 kB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003007/0.8744, allocations: 209.1 kB / 0.9332 GB, free: 296 kB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005722/0.875, allocations: 322.2 kB / 0.9335 GB, free: 292 kB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002748/0.8753, allocations: 236.5 kB / 0.9338 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.679e-05/0.8753, allocations: 16.34 kB / 0.9338 GB, free: 288 kB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001541/0.8769, allocations: 1.013 MB / 0.9348 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001231/0.877, allocations: 100.1 kB / 0.9349 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001784/0.8772, allocations: 164.6 kB / 0.935 GB, free: 280 kB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0009946/0.8782, allocations: 0.776 MB / 0.9358 GB, free: 236 kB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.8782, allocations: 0 / 0.9358 GB, free: 236 kB / 0.5573 GB Notification: Performance of FrontEnd: time 1.984e-06/0.8782, allocations: 0 / 0.9358 GB, free: 236 kB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.6e-06/0.8782, allocations: 5.203 kB / 0.9358 GB, free: 232 kB / 0.5573 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.0009621/0.8792, allocations: 0.6601 MB / 0.9364 GB, free: 15.74 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 4.389e-05/0.8793, allocations: 17.55 kB / 0.9365 GB, free: 15.73 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001078/0.8804, allocations: 153.8 kB / 0.9366 GB, free: 15.71 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004355/0.8808, allocations: 309.3 kB / 0.9369 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.449e-05/0.8808, allocations: 17.83 kB / 0.9369 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.174e-05/0.8809, allocations: 33.69 kB / 0.9369 GB, free: 15.48 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004474/0.8813, allocations: 281 kB / 0.9372 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.112e-05/0.8814, allocations: 0 / 0.9372 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.058e-05/0.8814, allocations: 9.469 kB / 0.9372 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.494e-06/0.8814, allocations: 5.906 kB / 0.9372 GB, free: 15.4 MB / 0.573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004799/0.8819, allocations: 206.3 kB / 0.9374 GB, free: 15.4 MB / 0.573 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.001542/0.8834, allocations: 1.226 MB / 0.9386 GB, free: 14.56 MB / 0.573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003446/0.8838, allocations: 152 kB / 0.9388 GB, free: 14.53 MB / 0.573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002205/0.884, allocations: 94.52 kB / 0.9389 GB, free: 14.52 MB / 0.573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006617/0.8847, allocations: 301.1 kB / 0.9391 GB, free: 14.24 MB / 0.573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.8848, allocations: 42.53 kB / 0.9392 GB, free: 14.2 MB / 0.573 GB Notification: Performance of pre-optimization done (n=17): time 1.333e-06/0.8848, allocations: 0 / 0.9392 GB, free: 14.2 MB / 0.573 GB Notification: Performance of matching and sorting (n=17): time 0.000749/0.8855, allocations: 291.8 kB / 0.9395 GB, free: 14.15 MB / 0.573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.672e-05/0.8856, allocations: 54.28 kB / 0.9395 GB, free: 14.09 MB / 0.573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003064/0.8859, allocations: 326.8 kB / 0.9398 GB, free: 13.98 MB / 0.573 GB Notification: Performance of collectPreVariables (initialization): time 2.242e-05/0.8859, allocations: 33.45 kB / 0.9399 GB, free: 13.94 MB / 0.573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001223/0.886, allocations: 178.6 kB / 0.94 GB, free: 13.84 MB / 0.573 GB Notification: Performance of collectInitialBindings (initialization): time 4.824e-05/0.8861, allocations: 60.5 kB / 0.9401 GB, free: 13.8 MB / 0.573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.32e-05/0.8862, allocations: 44.89 kB / 0.9401 GB, free: 13.78 MB / 0.573 GB Notification: Performance of setup shared object (initialization): time 0.0001215/0.8863, allocations: 341.6 kB / 0.9405 GB, free: 13.47 MB / 0.573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001667/0.8865, allocations: 67.78 kB / 0.9405 GB, free: 13.47 MB / 0.573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002083/0.8867, allocations: 130.1 kB / 0.9406 GB, free: 13.42 MB / 0.573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003288/0.887, allocations: 200.1 kB / 0.9408 GB, free: 13.37 MB / 0.573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.887, allocations: 0 / 0.9408 GB, free: 13.37 MB / 0.573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004544/0.8875, allocations: 252.5 kB / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 1.759e-05/0.8875, allocations: 11.19 kB / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.8875, allocations: 0 / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.8876, allocations: 2.281 kB / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.8878, allocations: 47.81 kB / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.206e-06/0.8878, allocations: 3.766 kB / 0.9411 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002314/0.888, allocations: 39.83 kB / 0.9412 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.83e-05/0.8881, allocations: 13.39 kB / 0.9412 GB, free: 13.29 MB / 0.573 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.0001368/0.8882, allocations: 149.7 kB / 0.9413 GB, free: 13.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.476e-05/0.8883, allocations: 31.88 kB / 0.9414 GB, free: 13.16 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004627/0.8887, allocations: 232.6 kB / 0.9416 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.8888, allocations: 1.719 kB / 0.9416 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.8888, allocations: 0 / 0.9416 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.839e-06/0.8888, allocations: 4.703 kB / 0.9416 GB, free: 13.12 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001015/0.8898, allocations: 0.7104 MB / 0.9423 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.8898, allocations: 2.234 kB / 0.9423 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001662/0.89, allocations: 40.33 kB / 0.9423 GB, free: 12.75 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.023e-06/0.89, allocations: 6.234 kB / 0.9423 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.542e-05/0.89, allocations: 3.562 kB / 0.9423 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-06/0.89, allocations: 6.875 kB / 0.9423 GB, free: 12.74 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.427e-06/0.89, allocations: 9.156 kB / 0.9423 GB, free: 12.73 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004097/0.8941, allocations: 2.05 MB / 0.9443 GB, free: 11.62 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001226/0.8943, allocations: 122.8 kB / 0.9445 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.561e-05/0.8943, allocations: 8.688 kB / 0.9445 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001844/0.8945, allocations: 20.17 kB / 0.9445 GB, free: 11.51 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.8946, allocations: 14.41 kB / 0.9445 GB, free: 11.5 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.8946, allocations: 6.062 kB / 0.9445 GB, free: 11.5 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0001972/0.8948, allocations: 235.7 kB / 0.9447 GB, free: 11.43 MB / 0.573 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8948, allocations: 0 / 0.9447 GB, free: 11.43 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0005172/0.8953, allocations: 120.1 kB / 0.9448 GB, free: 11.41 MB / 0.573 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.0004313/0.8958, allocations: 173.6 kB / 0.945 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.0004199/0.8962, allocations: 179.8 kB / 0.9452 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.8962, allocations: 0 / 0.9452 GB, free: 11.3 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.8964, allocations: 100.6 kB / 0.9453 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008723/0.8973, allocations: 158.9 kB / 0.9454 GB, free: 11.29 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001114/0.8984, allocations: 0.8771 MB / 0.9463 GB, free: 10.71 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003247/0.8987, allocations: 0.7892 MB / 0.9471 GB, free: 10.01 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002131/0.899, allocations: 66.05 kB / 0.9471 GB, free: 10 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.161e-05/0.899, allocations: 25.06 kB / 0.9471 GB, free: 9.992 MB / 0.573 GB Notification: Performance of SimCode: time 8.82e-07/0.899, allocations: 4 kB / 0.9472 GB, free: 9.988 MB / 0.573 GB Notification: Performance of Templates: time 0.009888/0.9089, allocations: 5.69 MB / 0.9527 GB, free: 9.629 MB / 0.573 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)