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.005356/0.005356, allocations: 96.7 kB / 15.73 MB, free: 6.055 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.001061/0.001061, allocations: 193.7 kB / 16.67 MB, free: 5.977 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.309/1.309, allocations: 222.9 MB / 240.4 MB, free: 4.281 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002/0.002, allocations: 290.4 kB / 290.8 MB, free: 1.879 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.937/0.937, allocations: 169.3 MB / 0.4983 GB, free: 13.82 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001749/0.001749, allocations: 99.78 kB / 0.6815 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2057/0.2074, allocations: 86.97 MB / 0.7664 GB, free: 8.43 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5069/0.7144, allocations: 167.4 MB / 0.9299 GB, free: 11.38 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00263/0.717, allocations: 1.563 MB / 0.9314 GB, free: 9.816 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006555/0.7177, allocations: 7.938 kB / 0.9314 GB, free: 9.809 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0007516/0.7186, allocations: 158.8 kB / 0.9316 GB, free: 9.652 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002284/0.7209, allocations: 0.7039 MB / 0.9322 GB, free: 8.945 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001444/0.7223, allocations: 0.6005 MB / 0.9328 GB, free: 8.348 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0009943/0.7233, allocations: 0.7176 MB / 0.9335 GB, free: 7.629 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004729/0.7238, allocations: 229.1 kB / 0.9337 GB, free: 7.406 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007264/0.7246, allocations: 354.6 kB / 0.9341 GB, free: 7.059 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000348/0.7249, allocations: 223 kB / 0.9343 GB, free: 6.84 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.39e-05/0.725, allocations: 24 kB / 0.9343 GB, free: 6.816 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001432/0.7264, allocations: 0.8689 MB / 0.9352 GB, free: 5.945 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001525/0.7266, allocations: 107.7 kB / 0.9353 GB, free: 5.84 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0002217/0.7268, allocations: 179.1 kB / 0.9354 GB, free: 5.664 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001252/0.7281, allocations: 0.7383 MB / 0.9362 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.728e-06/0.7281, allocations: 0 / 0.9362 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7281, allocations: 4 kB / 0.9362 GB, free: 4.926 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.44e-05/0.7281, allocations: 0 / 0.9362 GB, free: 4.926 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.001111/0.7293, allocations: 0.677 MB / 0.9368 GB, free: 4.195 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.7293, allocations: 12.03 kB / 0.9368 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001158/0.7305, allocations: 155.6 kB / 0.937 GB, free: 4.031 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005409/0.731, allocations: 326.9 kB / 0.9373 GB, free: 3.676 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.88e-05/0.7311, allocations: 16.56 kB / 0.9373 GB, free: 3.66 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.732e-05/0.7311, allocations: 35.88 kB / 0.9373 GB, free: 3.625 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004797/0.7316, allocations: 281.9 kB / 0.9376 GB, free: 3.332 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.383e-05/0.7316, allocations: 7.938 kB / 0.9376 GB, free: 3.324 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.308e-05/0.7317, allocations: 8 kB / 0.9376 GB, free: 3.316 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.7317, allocations: 11.98 kB / 0.9376 GB, free: 3.305 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004112/0.7321, allocations: 204.9 kB / 0.9378 GB, free: 3.105 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.001444/0.7335, allocations: 1.22 MB / 0.939 GB, free: 1.781 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.7339, allocations: 158.9 kB / 0.9392 GB, free: 1.617 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.734, allocations: 89.12 kB / 0.9393 GB, free: 1.527 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005237/0.7346, allocations: 307.2 kB / 0.9396 GB, free: 1.172 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.7346, allocations: 38.47 kB / 0.9396 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.312e-06/0.7346, allocations: 0 / 0.9396 GB, free: 1.125 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0007504/0.7354, allocations: 291.7 kB / 0.9399 GB, free: 0.8359 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.382e-05/0.7354, allocations: 55.41 kB / 0.9399 GB, free: 0.7695 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003042/0.7357, allocations: 324.5 kB / 0.9402 GB, free: 456 kB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.236e-05/0.7358, allocations: 33.64 kB / 0.9403 GB, free: 416 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001174/0.7359, allocations: 180.3 kB / 0.9404 GB, free: 232 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.485e-05/0.7359, allocations: 67.42 kB / 0.9405 GB, free: 164 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.497e-05/0.736, allocations: 45.7 kB / 0.9406 GB, free: 112 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001269/0.7361, allocations: 338.8 kB / 0.9409 GB, free: 15.77 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001633/0.7363, allocations: 67.95 kB / 0.9409 GB, free: 15.7 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002594/0.7366, allocations: 126.7 kB / 0.9411 GB, free: 15.56 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003459/0.7369, allocations: 193.7 kB / 0.9412 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.064e-06/0.737, allocations: 0 / 0.9412 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004699/0.7374, allocations: 266.7 kB / 0.9415 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.629e-05/0.7375, allocations: 8 kB / 0.9415 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.032e-06/0.7375, allocations: 0 / 0.9415 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.7375, allocations: 4 kB / 0.9415 GB, free: 15.08 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002047/0.7377, allocations: 44.41 kB / 0.9416 GB, free: 15.04 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.407e-06/0.7377, allocations: 4 kB / 0.9416 GB, free: 15.03 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001936/0.7379, allocations: 31.77 kB / 0.9416 GB, free: 15 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.886e-05/0.7379, allocations: 10.25 kB / 0.9416 GB, free: 14.99 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.0001485/0.7381, allocations: 162.4 kB / 0.9418 GB, free: 14.82 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.506e-05/0.7382, allocations: 35.8 kB / 0.9418 GB, free: 14.79 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004692/0.7386, allocations: 231.4 kB / 0.942 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.98e-06/0.7387, allocations: 4 kB / 0.942 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.7387, allocations: 0 / 0.942 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.298e-06/0.7387, allocations: 0 / 0.942 GB, free: 14.55 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009836/0.7397, allocations: 0.7069 MB / 0.9427 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.978e-06/0.7397, allocations: 0 / 0.9427 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001803/0.7399, allocations: 44.12 kB / 0.9427 GB, free: 13.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.561e-06/0.7399, allocations: 4 kB / 0.9427 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.869e-05/0.7399, allocations: 4 kB / 0.9427 GB, free: 13.71 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.46e-06/0.7399, allocations: 9 kB / 0.9428 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-06/0.7399, allocations: 7.938 kB / 0.9428 GB, free: 13.7 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006975/0.7406, allocations: 453.1 kB / 0.9432 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001215/0.7408, allocations: 124.9 kB / 0.9433 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.863e-05/0.7408, allocations: 0 / 0.9433 GB, free: 13.07 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001845/0.741, allocations: 23.94 kB / 0.9433 GB, free: 13.05 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.605e-05/0.7411, allocations: 19.97 kB / 0.9434 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.17e-05/0.7411, allocations: 4 kB / 0.9434 GB, free: 13.03 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002274/0.7413, allocations: 231 kB / 0.9436 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7413, allocations: 0 / 0.9436 GB, free: 12.8 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003919/0.7417, allocations: 87.83 kB / 0.9437 GB, free: 12.72 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.0004058/0.7421, allocations: 162.9 kB / 0.9438 GB, free: 12.55 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.0004422/0.7426, allocations: 178.3 kB / 0.944 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.7426, allocations: 0 / 0.944 GB, free: 12.38 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0002112/0.7428, allocations: 100 kB / 0.9441 GB, free: 12.29 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000899/0.7437, allocations: 175 kB / 0.9443 GB, free: 12.12 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001037/0.7448, allocations: 0.6292 MB / 0.9449 GB, free: 11.45 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003831/0.7452, allocations: 0.7795 MB / 0.9456 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002043/0.7454, allocations: 66.94 kB / 0.9457 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.383e-05/0.7455, allocations: 27.44 kB / 0.9457 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of SimCode: time 2.41e-07/0.7455, allocations: 0 / 0.9457 GB, free: 10.56 MB / 0.7012 GB Notification: Performance of Templates: time 0.01092/0.7564, allocations: 5.852 MB / 0.9514 GB, free: 4.812 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)