Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.182/2.182, allocations: 251.1 MB / 266.7 MB, free: 11.55 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001305/0.001304, allocations: 173.7 kB / 326.3 MB, free: 2.828 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.349/2.349, allocations: 205.4 MB / 0.5772 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009203/0.00092, allocations: 98.61 kB / 0.6817 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006398/0.00064, allocations: 13.06 kB / 0.7957 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2024/0.2031, allocations: 106.3 MB / 0.8995 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.3244/0.5275, allocations: 152.2 MB / 1.048 GB, free: 8.801 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003815/0.5314, allocations: 1.532 MB / 1.05 GB, free: 7.266 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003343/0.5318, allocations: 11.94 kB / 1.05 GB, free: 7.254 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0005557/0.5323, allocations: 103.2 kB / 1.05 GB, free: 7.152 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001902/0.5343, allocations: 0.517 MB / 1.05 GB, free: 6.633 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001928/0.5362, allocations: 458.6 kB / 1.051 GB, free: 6.188 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001398/0.5376, allocations: 0.8462 MB / 1.052 GB, free: 5.336 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004609/0.5381, allocations: 189.2 kB / 1.052 GB, free: 5.152 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009318/0.5391, allocations: 318.7 kB / 1.052 GB, free: 4.84 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004537/0.5395, allocations: 223.1 kB / 1.052 GB, free: 4.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.581e-05/0.5396, allocations: 12 kB / 1.052 GB, free: 4.609 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001673/0.5413, allocations: 462.9 kB / 1.053 GB, free: 4.156 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.5415, allocations: 99.67 kB / 1.053 GB, free: 4.059 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0001583/0.5417, allocations: 89.52 kB / 1.053 GB, free: 3.965 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0009444/0.5426, allocations: 443.3 kB / 1.053 GB, free: 3.531 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.73e-06/0.5427, allocations: 4 kB / 1.053 GB, free: 3.527 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.793e-06/0.5427, allocations: 0 / 1.053 GB, free: 3.527 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.923e-06/0.5427, allocations: 0 / 1.053 GB, free: 3.527 MB / 0.698 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.001212/0.5439, allocations: 0.6077 MB / 1.054 GB, free: 2.871 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.375e-05/0.544, allocations: 12.03 kB / 1.054 GB, free: 2.859 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001585/0.5456, allocations: 159.4 kB / 1.054 GB, free: 2.703 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006148/0.5462, allocations: 298.9 kB / 1.054 GB, free: 2.371 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/0.5463, allocations: 24.44 kB / 1.054 GB, free: 2.348 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.559e-05/0.5463, allocations: 24 kB / 1.054 GB, free: 2.324 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007733/0.5471, allocations: 289.8 kB / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.571e-05/0.5472, allocations: 0 / 1.055 GB, free: 2.02 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.583e-05/0.5472, allocations: 12 kB / 1.055 GB, free: 2.008 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.403e-05/0.5472, allocations: 4 kB / 1.055 GB, free: 2.004 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007388/0.548, allocations: 212.9 kB / 1.055 GB, free: 1.797 MB / 0.698 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.002247/0.5503, allocations: 1.238 MB / 1.056 GB, free: 464 kB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000492/0.5508, allocations: 154.4 kB / 1.056 GB, free: 300 kB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003244/0.5511, allocations: 102.4 kB / 1.056 GB, free: 196 kB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.5924/1.144, allocations: 320 kB / 1.057 GB, free: 159 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.63e-05/1.144, allocations: 35.25 kB / 1.057 GB, free: 158.9 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 2.886e-06/1.144, allocations: 0 / 1.057 GB, free: 158.9 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.001276/1.145, allocations: 302.7 kB / 1.057 GB, free: 158.9 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.316e-05/1.145, allocations: 56.5 kB / 1.057 GB, free: 158.8 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004645/1.145, allocations: 322.5 kB / 1.057 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.85e-05/1.145, allocations: 30.8 kB / 1.057 GB, free: 158.7 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001469/1.146, allocations: 186.3 kB / 1.058 GB, free: 158.6 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.626e-05/1.146, allocations: 53.17 kB / 1.058 GB, free: 158.6 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.454e-05/1.146, allocations: 4.688 kB / 1.058 GB, free: 158.6 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 8.389e-05/1.146, allocations: 341.6 kB / 1.058 GB, free: 158.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/1.146, allocations: 72.42 kB / 1.058 GB, free: 158.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003333/1.146, allocations: 133.3 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003268/1.147, allocations: 97.39 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.918e-06/1.147, allocations: 0.5625 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007362/1.148, allocations: 260 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/1.148, allocations: 10.53 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.503e-06/1.148, allocations: 2.656 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/1.148, allocations: 2.781 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003556/1.148, allocations: 51.28 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.255e-05/1.148, allocations: 2.969 kB / 1.058 GB, free: 158.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003699/1.148, allocations: 42.53 kB / 1.059 GB, free: 158.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.566e-05/1.148, allocations: 12.05 kB / 1.059 GB, free: 158.1 MB / 0.698 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001635/1.149, allocations: 152.6 kB / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.833e-05/1.149, allocations: 34.56 kB / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006914/1.149, allocations: 238.4 kB / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/1.149, allocations: 0 / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.004e-06/1.149, allocations: 0 / 1.059 GB, free: 158 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001371/1.15, allocations: 125.4 kB / 1.059 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.47e-05/1.15, allocations: 7.703 kB / 1.059 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002904/1.15, allocations: 15.44 kB / 1.059 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.857e-05/1.15, allocations: 15.97 kB / 1.059 GB, free: 157.9 MB / 0.698 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0008185/1.151, allocations: 304.4 kB / 1.059 GB, free: 157.7 MB / 0.698 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0009533/1.152, allocations: 494.3 kB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002821/1.152, allocations: 85.17 kB / 1.06 GB, free: 157.5 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002816/1.152, allocations: 225.1 kB / 1.06 GB, free: 157.4 MB / 0.698 GB Notification: Performance of Backend: time 8.41e-07/1.152, allocations: 0 / 1.06 GB, free: 157.4 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001461/1.154, allocations: 380.4 kB / 1.061 GB, free: 157.4 MB / 0.698 GB Notification: Performance of SimCode: time 0.002106/1.156, allocations: 1.254 MB / 1.062 GB, free: 156.5 MB / 0.698 GB Notification: Performance of Templates: time 0.02243/1.178, allocations: 7.448 MB / 1.069 GB, free: 155.4 MB / 0.698 GB make -j1 -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)