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.005435/0.005435, allocations: 98.14 kB / 15.73 MB, free: 6.039 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.001115/0.001115, allocations: 196.8 kB / 16.68 MB, free: 5.969 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.35/1.35, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002354/0.002354, allocations: 287 kB / 290.8 MB, free: 1.918 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9996/0.9996, allocations: 169.3 MB / 0.4983 GB, free: 13.81 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001721/0.001721, allocations: 95.84 kB / 0.6815 GB, free: 15.49 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1575/0.1592, allocations: 86.98 MB / 0.7664 GB, free: 8.434 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.52/0.6793, allocations: 167.4 MB / 0.9299 GB, free: 11.4 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.002819/0.6821, allocations: 1.565 MB / 0.9314 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002054/0.6824, allocations: 11.94 kB / 0.9314 GB, free: 9.824 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0004614/0.6829, allocations: 150.9 kB / 0.9316 GB, free: 9.676 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001576/0.6845, allocations: 0.7039 MB / 0.9322 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.6857, allocations: 0.6038 MB / 0.9328 GB, free: 8.367 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000696/0.6865, allocations: 0.7177 MB / 0.9335 GB, free: 7.648 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000347/0.6868, allocations: 233.1 kB / 0.9338 GB, free: 7.422 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005346/0.6874, allocations: 350.7 kB / 0.9341 GB, free: 7.078 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002642/0.6876, allocations: 227 kB / 0.9343 GB, free: 6.855 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 3.991e-05/0.6877, allocations: 20 kB / 0.9343 GB, free: 6.836 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001254/0.6889, allocations: 0.8689 MB / 0.9352 GB, free: 5.965 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001277/0.6891, allocations: 111.7 kB / 0.9353 GB, free: 5.855 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001642/0.6892, allocations: 175.1 kB / 0.9354 GB, free: 5.684 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.0009543/0.6902, allocations: 0.7389 MB / 0.9362 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/0.6902, allocations: 0 / 0.9362 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.804e-06/0.6902, allocations: 0 / 0.9362 GB, free: 4.949 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.126e-05/0.6902, allocations: 0 / 0.9362 GB, free: 4.949 MB / 0.6856 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.0009233/0.6912, allocations: 0.6705 MB / 0.9368 GB, free: 4.227 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.592e-05/0.6912, allocations: 8.031 kB / 0.9368 GB, free: 4.219 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001139/0.6924, allocations: 155.5 kB / 0.937 GB, free: 4.066 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004734/0.6928, allocations: 322.7 kB / 0.9373 GB, free: 3.715 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.878e-05/0.6929, allocations: 16.56 kB / 0.9373 GB, free: 3.699 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.5e-05/0.6929, allocations: 31.94 kB / 0.9373 GB, free: 3.668 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000466/0.6934, allocations: 289.8 kB / 0.9376 GB, free: 3.367 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.02e-05/0.6934, allocations: 3.984 kB / 0.9376 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.02e-05/0.6935, allocations: 8 kB / 0.9376 GB, free: 3.355 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.6935, allocations: 8 kB / 0.9376 GB, free: 3.348 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003971/0.6939, allocations: 204.9 kB / 0.9378 GB, free: 3.148 MB / 0.6856 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.001341/0.6952, allocations: 1.223 MB / 0.939 GB, free: 1.82 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002924/0.6955, allocations: 146.5 kB / 0.9392 GB, free: 1.668 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001779/0.6957, allocations: 96.8 kB / 0.9392 GB, free: 1.57 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005637/0.6963, allocations: 303.2 kB / 0.9395 GB, free: 1.219 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.486e-05/0.6963, allocations: 34.56 kB / 0.9396 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.6963, allocations: 0 / 0.9396 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0007385/0.6971, allocations: 295.3 kB / 0.9398 GB, free: 0.8828 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.227e-05/0.6971, allocations: 59.31 kB / 0.9399 GB, free: 0.8125 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002985/0.6974, allocations: 320.5 kB / 0.9402 GB, free: 0.4922 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.088e-05/0.6974, allocations: 29.7 kB / 0.9402 GB, free: 468 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001188/0.6976, allocations: 180.2 kB / 0.9404 GB, free: 284 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.286e-05/0.6976, allocations: 63.09 kB / 0.9405 GB, free: 220 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.948e-05/0.6977, allocations: 45.7 kB / 0.9405 GB, free: 168 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001338/0.6978, allocations: 350.7 kB / 0.9409 GB, free: 15.81 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001643/0.698, allocations: 67.95 kB / 0.9409 GB, free: 15.75 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002099/0.6982, allocations: 123.1 kB / 0.941 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/0.6986, allocations: 201.6 kB / 0.9412 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.6986, allocations: 4 kB / 0.9412 GB, free: 15.39 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004575/0.6991, allocations: 263.6 kB / 0.9415 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.575e-05/0.6991, allocations: 8 kB / 0.9415 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.6991, allocations: 0 / 0.9415 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6991, allocations: 4 kB / 0.9415 GB, free: 15.12 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002019/0.6993, allocations: 43.91 kB / 0.9415 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.791e-06/0.6993, allocations: 4 kB / 0.9415 GB, free: 15.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001972/0.6995, allocations: 36.55 kB / 0.9416 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.631e-05/0.6996, allocations: 8 kB / 0.9416 GB, free: 15.03 MB / 0.7012 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.0001422/0.6997, allocations: 158.4 kB / 0.9417 GB, free: 14.86 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.864e-05/0.6998, allocations: 31.62 kB / 0.9418 GB, free: 14.83 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004751/0.7003, allocations: 230.2 kB / 0.942 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.7003, allocations: 0 / 0.942 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.7003, allocations: 0 / 0.942 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.7003, allocations: 0 / 0.942 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009994/0.7013, allocations: 0.7068 MB / 0.9427 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.837e-06/0.7013, allocations: 4 kB / 0.9427 GB, free: 13.8 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001789/0.7015, allocations: 32.14 kB / 0.9427 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.921e-06/0.7015, allocations: 11.98 kB / 0.9427 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.567e-05/0.7015, allocations: 6.062 kB / 0.9427 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.561e-06/0.7015, allocations: 3.938 kB / 0.9427 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.7016, allocations: 4 kB / 0.9427 GB, free: 13.75 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006473/0.7022, allocations: 450.9 kB / 0.9432 GB, free: 13.27 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001051/0.7023, allocations: 120.8 kB / 0.9433 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.87e-05/0.7024, allocations: 11.98 kB / 0.9433 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001755/0.7026, allocations: 12 kB / 0.9433 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6e-05/0.7026, allocations: 15.98 kB / 0.9433 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.086e-05/0.7026, allocations: 7.938 kB / 0.9433 GB, free: 13.09 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002059/0.7029, allocations: 231 kB / 0.9435 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.91e-07/0.7029, allocations: 0 / 0.9435 GB, free: 12.87 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003824/0.7033, allocations: 91.92 kB / 0.9436 GB, free: 12.78 MB / 0.7012 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.0003481/0.7036, allocations: 166 kB / 0.9438 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004453/0.7041, allocations: 187.8 kB / 0.944 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.205e-06/0.7041, allocations: 0 / 0.944 GB, free: 12.43 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001944/0.7043, allocations: 96.06 kB / 0.9441 GB, free: 12.34 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008599/0.7051, allocations: 177.6 kB / 0.9442 GB, free: 12.17 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009826/0.7061, allocations: 0.6299 MB / 0.9448 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00036/0.7065, allocations: 0.7834 MB / 0.9456 GB, free: 10.69 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.000183/0.7067, allocations: 70.92 kB / 0.9457 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.843e-05/0.7068, allocations: 23.44 kB / 0.9457 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of SimCode: time 2e-07/0.7068, allocations: 0 / 0.9457 GB, free: 10.6 MB / 0.7012 GB Notification: Performance of Templates: time 0.01029/0.7171, allocations: 5.836 MB / 0.9514 GB, free: 4.871 MB / 0.7012 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)