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.004594/0.004594, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001053/0.001053, allocations: 194.1 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.322/1.322, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 290.5 kB / 290.8 MB, free: 1.934 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9707/0.9707, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001798/0.001798, allocations: 91.86 kB / 0.6814 GB, free: 15.48 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1629/0.1648, allocations: 86.98 MB / 0.7664 GB, free: 8.422 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5583/0.7231, allocations: 167.4 MB / 0.9299 GB, free: 11.41 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.003517/0.7267, allocations: 1.56 MB / 0.9314 GB, free: 9.852 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003995/0.7271, allocations: 15.88 kB / 0.9314 GB, free: 9.836 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0005402/0.7277, allocations: 146.9 kB / 0.9315 GB, free: 9.691 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.001875/0.7296, allocations: 0.7039 MB / 0.9322 GB, free: 8.984 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.001604/0.7312, allocations: 0.6018 MB / 0.9328 GB, free: 8.383 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.0008903/0.7321, allocations: 0.7254 MB / 0.9335 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003686/0.7325, allocations: 229.1 kB / 0.9337 GB, free: 7.434 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000678/0.7332, allocations: 350.7 kB / 0.9341 GB, free: 7.09 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002697/0.7335, allocations: 223 kB / 0.9343 GB, free: 6.871 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 4.327e-05/0.7335, allocations: 24 kB / 0.9343 GB, free: 6.848 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.7351, allocations: 0.8767 MB / 0.9352 GB, free: 5.969 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001253/0.7352, allocations: 107.7 kB / 0.9353 GB, free: 5.863 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001704/0.7354, allocations: 171.2 kB / 0.9354 GB, free: 5.695 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.001096/0.7365, allocations: 0.735 MB / 0.9362 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.28e-06/0.7365, allocations: 0 / 0.9362 GB, free: 4.965 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.603e-06/0.7365, allocations: 4 kB / 0.9362 GB, free: 4.961 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.957e-06/0.7365, allocations: 0 / 0.9362 GB, free: 4.961 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.0009578/0.7375, allocations: 0.6628 MB / 0.9368 GB, free: 4.246 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.7375, allocations: 16.03 kB / 0.9368 GB, free: 4.23 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001087/0.7386, allocations: 155.4 kB / 0.937 GB, free: 4.078 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005345/0.7392, allocations: 330.6 kB / 0.9373 GB, free: 3.719 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2e-05/0.7392, allocations: 12.56 kB / 0.9373 GB, free: 3.707 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.66e-05/0.7393, allocations: 27.94 kB / 0.9373 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004864/0.7398, allocations: 281.8 kB / 0.9376 GB, free: 3.387 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/0.7398, allocations: 4 kB / 0.9376 GB, free: 3.383 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.355e-05/0.7398, allocations: 8 kB / 0.9376 GB, free: 3.375 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.033e-05/0.7398, allocations: 12 kB / 0.9376 GB, free: 3.363 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003953/0.7402, allocations: 200.9 kB / 0.9378 GB, free: 3.168 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.001385/0.7416, allocations: 1.228 MB / 0.939 GB, free: 1.836 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002734/0.7419, allocations: 154.4 kB / 0.9392 GB, free: 1.676 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001785/0.7421, allocations: 95.48 kB / 0.9392 GB, free: 1.582 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005305/0.7426, allocations: 307.2 kB / 0.9395 GB, free: 1.227 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.586e-05/0.7427, allocations: 30.56 kB / 0.9396 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 1.773e-06/0.7427, allocations: 0 / 0.9396 GB, free: 1.188 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.0007468/0.7434, allocations: 289.5 kB / 0.9398 GB, free: 0.8984 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.261e-05/0.7435, allocations: 67.25 kB / 0.9399 GB, free: 0.8203 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003033/0.7438, allocations: 324.5 kB / 0.9402 GB, free: 0.4961 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 2.902e-05/0.7438, allocations: 29.7 kB / 0.9402 GB, free: 472 kB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.744, allocations: 180.2 kB / 0.9404 GB, free: 288 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 4.968e-05/0.744, allocations: 63.11 kB / 0.9405 GB, free: 224 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.252e-05/0.7441, allocations: 45.7 kB / 0.9405 GB, free: 172 kB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001291/0.7442, allocations: 342.8 kB / 0.9408 GB, free: 15.82 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001528/0.7444, allocations: 63.95 kB / 0.9409 GB, free: 15.76 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002063/0.7446, allocations: 131.1 kB / 0.941 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003441/0.745, allocations: 189 kB / 0.9412 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.897e-06/0.745, allocations: 0 / 0.9412 GB, free: 15.41 MB / 0.7012 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004513/0.7454, allocations: 269.5 kB / 0.9415 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.037e-05/0.7455, allocations: 10.03 kB / 0.9415 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.901e-06/0.7455, allocations: 0 / 0.9415 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.7455, allocations: 4 kB / 0.9415 GB, free: 15.13 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001955/0.7457, allocations: 35.98 kB / 0.9415 GB, free: 15.1 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.124e-05/0.7457, allocations: 6.188 kB / 0.9415 GB, free: 15.09 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001934/0.7459, allocations: 35.61 kB / 0.9416 GB, free: 15.06 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.206e-05/0.746, allocations: 16.08 kB / 0.9416 GB, free: 15.04 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.0001308/0.7461, allocations: 154.4 kB / 0.9417 GB, free: 14.88 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.266e-05/0.7462, allocations: 31.62 kB / 0.9418 GB, free: 14.85 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000469/0.7466, allocations: 229.6 kB / 0.942 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.7466, allocations: 4 kB / 0.942 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7467, allocations: 0 / 0.942 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.147e-06/0.7467, allocations: 0 / 0.942 GB, free: 14.61 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009796/0.7476, allocations: 0.7068 MB / 0.9427 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.245e-06/0.7477, allocations: 4.219 kB / 0.9427 GB, free: 13.82 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001656/0.7478, allocations: 35.42 kB / 0.9427 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.7478, allocations: 4 kB / 0.9427 GB, free: 13.79 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.7479, allocations: 8.141 kB / 0.9427 GB, free: 13.78 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.34e-06/0.7479, allocations: 7.875 kB / 0.9427 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.7479, allocations: 4 kB / 0.9427 GB, free: 13.77 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006247/0.7485, allocations: 450.9 kB / 0.9432 GB, free: 13.29 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001253/0.7487, allocations: 124.7 kB / 0.9433 GB, free: 13.15 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.859e-05/0.7487, allocations: 8.062 kB / 0.9433 GB, free: 13.14 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001653/0.7489, allocations: 20.02 kB / 0.9433 GB, free: 13.12 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.244e-05/0.7489, allocations: 15.92 kB / 0.9433 GB, free: 13.11 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.046e-05/0.7489, allocations: 4 kB / 0.9433 GB, free: 13.1 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.0002101/0.7492, allocations: 235 kB / 0.9435 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2.124e-06/0.7492, allocations: 0 / 0.9435 GB, free: 12.88 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.0003883/0.7496, allocations: 87.78 kB / 0.9436 GB, free: 12.79 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.0004096/0.75, allocations: 170.5 kB / 0.9438 GB, free: 12.62 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.000425/0.7504, allocations: 179.9 kB / 0.944 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.7504, allocations: 4.062 kB / 0.944 GB, free: 12.45 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.0001785/0.7506, allocations: 87.83 kB / 0.944 GB, free: 12.36 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008411/0.7515, allocations: 175.5 kB / 0.9442 GB, free: 12.2 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00103/0.7525, allocations: 0.627 MB / 0.9448 GB, free: 11.53 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003407/0.7529, allocations: 0.7834 MB / 0.9456 GB, free: 10.72 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0001941/0.7531, allocations: 70.91 kB / 0.9457 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.081e-05/0.7531, allocations: 23.44 kB / 0.9457 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of SimCode: time 2.21e-07/0.7531, allocations: 0 / 0.9457 GB, free: 10.63 MB / 0.7012 GB Notification: Performance of Templates: time 0.01079/0.7639, allocations: 5.95 MB / 0.9515 GB, free: 4.789 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)