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.00114/0.00114, allocations: 106 kB / 16.41 MB, free: 6.496 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.001063/0.001063, allocations: 185.6 kB / 17.34 MB, free: 5.762 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.307/1.307, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002194/0.002194, allocations: 284 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.9278/0.9278, allocations: 169.2 MB / 0.499 GB, free: 4.438 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00279/0.00279, allocations: 99.84 kB / 0.6821 GB, free: 6.961 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5187/0.5215, allocations: 86.98 MB / 0.7671 GB, free: 3.941 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1761/0.6976, allocations: 167.4 MB / 0.9305 GB, free: 11.89 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.003068/0.7007, allocations: 1.558 MB / 0.9321 GB, free: 10.33 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005536/0.7013, allocations: 11.94 kB / 0.9321 GB, free: 10.32 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0006307/0.7019, allocations: 146.8 kB / 0.9322 GB, free: 10.17 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.002083/0.704, allocations: 0.7078 MB / 0.9329 GB, free: 9.461 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001775/0.7059, allocations: 0.6106 MB / 0.9335 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.001112/0.707, allocations: 0.7098 MB / 0.9342 GB, free: 8.141 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005265/0.7075, allocations: 237.1 kB / 0.9344 GB, free: 7.91 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00109/0.7086, allocations: 350.7 kB / 0.9347 GB, free: 7.566 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004954/0.7091, allocations: 231 kB / 0.935 GB, free: 7.34 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.669e-05/0.7092, allocations: 24 kB / 0.935 GB, free: 7.316 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001655/0.7109, allocations: 0.8651 MB / 0.9358 GB, free: 6.449 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.0001572/0.7111, allocations: 111.6 kB / 0.9359 GB, free: 6.34 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002423/0.7113, allocations: 175.2 kB / 0.9361 GB, free: 6.168 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001441/0.7128, allocations: 0.7389 MB / 0.9368 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.518e-06/0.7128, allocations: 0 / 0.9368 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.383e-06/0.7128, allocations: 0 / 0.9368 GB, free: 5.43 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.844e-05/0.7128, allocations: 0 / 0.9368 GB, free: 5.43 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.001149/0.714, allocations: 0.6621 MB / 0.9375 GB, free: 4.715 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.403e-05/0.714, allocations: 8.031 kB / 0.9375 GB, free: 4.707 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001214/0.7152, allocations: 163.4 kB / 0.9376 GB, free: 4.547 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000592/0.7158, allocations: 322.6 kB / 0.9379 GB, free: 4.195 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.154e-05/0.7159, allocations: 20.56 kB / 0.938 GB, free: 4.176 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.02e-05/0.7159, allocations: 27.94 kB / 0.938 GB, free: 4.148 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005078/0.7164, allocations: 281.9 kB / 0.9383 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.385e-05/0.7165, allocations: 3.938 kB / 0.9383 GB, free: 3.852 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.7165, allocations: 8 kB / 0.9383 GB, free: 3.844 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.182e-05/0.7165, allocations: 4 kB / 0.9383 GB, free: 3.84 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004253/0.7169, allocations: 208.9 kB / 0.9385 GB, free: 3.637 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.00157/0.7185, allocations: 1.219 MB / 0.9397 GB, free: 2.312 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002972/0.7188, allocations: 154.3 kB / 0.9398 GB, free: 2.152 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001825/0.719, allocations: 96.8 kB / 0.9399 GB, free: 2.055 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005607/0.7196, allocations: 307.2 kB / 0.9402 GB, free: 1.699 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.7196, allocations: 30.56 kB / 0.9402 GB, free: 1.66 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.402e-06/0.7196, allocations: 3.938 kB / 0.9402 GB, free: 1.656 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007926/0.7204, allocations: 300.1 kB / 0.9405 GB, free: 1.359 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.36e-05/0.7205, allocations: 51.41 kB / 0.9406 GB, free: 1.297 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003261/0.7208, allocations: 324.5 kB / 0.9409 GB, free: 0.9727 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 3.021e-05/0.7209, allocations: 29.7 kB / 0.9409 GB, free: 0.9375 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001352/0.721, allocations: 184.1 kB / 0.9411 GB, free: 0.7539 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.7211, allocations: 59.11 kB / 0.9411 GB, free: 0.6953 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.328e-05/0.7211, allocations: 49.64 kB / 0.9412 GB, free: 0.6406 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001118/0.7213, allocations: 342.8 kB / 0.9415 GB, free: 304 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.7214, allocations: 71.94 kB / 0.9416 GB, free: 232 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002068/0.7217, allocations: 128.5 kB / 0.9417 GB, free: 88 kB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003663/0.722, allocations: 199.8 kB / 0.9419 GB, free: 15.88 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.047e-06/0.722, allocations: 3.938 kB / 0.9419 GB, free: 15.87 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005132/0.7226, allocations: 253.1 kB / 0.9421 GB, free: 15.62 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.762e-05/0.7226, allocations: 7.938 kB / 0.9421 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.455e-06/0.7226, allocations: 4 kB / 0.9422 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.462e-05/0.7226, allocations: 0 / 0.9422 GB, free: 15.61 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002118/0.7228, allocations: 51.91 kB / 0.9422 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.7229, allocations: 4 kB / 0.9422 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002027/0.7231, allocations: 23.69 kB / 0.9422 GB, free: 15.53 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.991e-05/0.7231, allocations: 15.98 kB / 0.9422 GB, free: 15.51 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.0001462/0.7233, allocations: 157.8 kB / 0.9424 GB, free: 15.35 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.348e-05/0.7233, allocations: 27.62 kB / 0.9424 GB, free: 15.32 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000475/0.7238, allocations: 236.6 kB / 0.9426 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.22e-06/0.7238, allocations: 4 kB / 0.9426 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.049e-06/0.7238, allocations: 0 / 0.9426 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.57e-06/0.7238, allocations: 3.984 kB / 0.9427 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001003/0.7248, allocations: 0.6991 MB / 0.9433 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.936e-06/0.7249, allocations: 0 / 0.9433 GB, free: 14.29 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001787/0.725, allocations: 44.14 kB / 0.9434 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.725, allocations: 0 / 0.9434 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.661e-05/0.7251, allocations: 4 kB / 0.9434 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.412e-06/0.7251, allocations: 7.938 kB / 0.9434 GB, free: 14.23 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.841e-06/0.7251, allocations: 11.92 kB / 0.9434 GB, free: 14.22 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006555/0.7258, allocations: 448.4 kB / 0.9438 GB, free: 13.75 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001134/0.7259, allocations: 128.6 kB / 0.944 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.73e-05/0.7259, allocations: 4 kB / 0.944 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.7261, allocations: 23.98 kB / 0.944 GB, free: 13.58 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.299e-05/0.7262, allocations: 11.92 kB / 0.944 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.451e-05/0.7262, allocations: 12 kB / 0.944 GB, free: 13.55 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002186/0.7264, allocations: 227 kB / 0.9442 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of sort global known variables: time 4.01e-07/0.7264, allocations: 0 / 0.9442 GB, free: 13.34 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004148/0.7269, allocations: 87.91 kB / 0.9443 GB, free: 13.25 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.0004233/0.7273, allocations: 161.5 kB / 0.9445 GB, free: 13.09 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004456/0.7277, allocations: 190.7 kB / 0.9446 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.406e-06/0.7278, allocations: 3.938 kB / 0.9446 GB, free: 12.9 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001949/0.728, allocations: 96.02 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.0008886/0.7289, allocations: 165.3 kB / 0.9449 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001007/0.7299, allocations: 0.659 MB / 0.9455 GB, free: 11.94 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003237/0.7302, allocations: 0.7795 MB / 0.9463 GB, free: 11.14 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.773e-05/0.7303, allocations: 27.44 kB / 0.9463 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of SimCode: time 2.11e-07/0.7303, allocations: 0 / 0.9463 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of Templates: time 0.008141/0.7385, allocations: 4.964 MB / 0.9512 GB, free: 6.207 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)