Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 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(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.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.001531/0.001531, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001572/0.001572, allocations: 194.7 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.504/1.504, allocations: 205.1 MB / 222.4 MB, free: 4.586 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.799/1.799, allocations: 251.7 MB / 0.5092 GB, free: 3.168 MB / 414.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001544/0.001544, allocations: 79.89 kB / 0.6223 GB, free: 1.539 MB / 0.5138 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6625/0.6641, allocations: 104.7 MB / 0.7245 GB, free: 13.11 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.2038/0.8679, allocations: 167.5 MB / 0.8881 GB, free: 4.93 MB / 0.7013 GB Notification: Performance of NFInst.instExpressions: time 0.003379/0.8713, allocations: 1.606 MB / 0.8897 GB, free: 3.32 MB / 0.7013 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003836/0.8718, allocations: 11.94 kB / 0.8897 GB, free: 3.309 MB / 0.7013 GB Notification: Performance of NFTyping.typeComponents: time 0.0005642/0.8723, allocations: 158.8 kB / 0.8898 GB, free: 3.152 MB / 0.7013 GB Notification: Performance of NFTyping.typeBindings: time 0.001986/0.8744, allocations: 0.7039 MB / 0.8905 GB, free: 2.445 MB / 0.7013 GB Notification: Performance of NFTyping.typeClassSections: time 0.001812/0.8762, allocations: 0.6027 MB / 0.8911 GB, free: 1.844 MB / 0.7013 GB Notification: Performance of NFFlatten.flatten: time 0.0008454/0.8771, allocations: 0.7099 MB / 0.8918 GB, free: 1.129 MB / 0.7013 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004046/0.8775, allocations: 237.1 kB / 0.892 GB, free: 0.8984 MB / 0.7013 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006519/0.8781, allocations: 334.7 kB / 0.8924 GB, free: 0.5703 MB / 0.7013 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003017/0.8784, allocations: 231 kB / 0.8926 GB, free: 352 kB / 0.7013 GB Notification: Performance of NFPackage.collectConstants: time 5.452e-05/0.8785, allocations: 20 kB / 0.8926 GB, free: 332 kB / 0.7013 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00152/0.88, allocations: 0.8689 MB / 0.8935 GB, free: 15.45 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.8802, allocations: 111.7 kB / 0.8936 GB, free: 15.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001766/0.8804, allocations: 171.1 kB / 0.8937 GB, free: 15.18 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001235/0.8816, allocations: 0.7363 MB / 0.8944 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.281e-06/0.8816, allocations: 0 / 0.8944 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.635e-06/0.8816, allocations: 0 / 0.8944 GB, free: 14.44 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 9.338e-06/0.8817, allocations: 0 / 0.8944 GB, free: 14.44 MB / 0.7169 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.001101/0.8828, allocations: 0.6584 MB / 0.8951 GB, free: 13.73 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.182e-05/0.8828, allocations: 12.03 kB / 0.8951 GB, free: 13.72 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001209/0.884, allocations: 155.4 kB / 0.8952 GB, free: 13.57 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004495/0.8845, allocations: 314.6 kB / 0.8955 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.809e-05/0.8845, allocations: 16.56 kB / 0.8956 GB, free: 13.2 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.298e-05/0.8846, allocations: 27.94 kB / 0.8956 GB, free: 13.18 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004861/0.8851, allocations: 293.8 kB / 0.8959 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/0.8851, allocations: 0 / 0.8959 GB, free: 12.87 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.8851, allocations: 8 kB / 0.8959 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.335e-06/0.8852, allocations: 8 kB / 0.8959 GB, free: 12.86 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004146/0.8856, allocations: 200.9 kB / 0.8961 GB, free: 12.66 MB / 0.7169 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.001554/0.8871, allocations: 1.234 MB / 0.8973 GB, free: 11.32 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004035/0.8876, allocations: 150.5 kB / 0.8974 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001865/0.8878, allocations: 92.8 kB / 0.8975 GB, free: 11.07 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007051/0.8885, allocations: 307.2 kB / 0.8978 GB, free: 10.71 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.791e-05/0.8885, allocations: 34.55 kB / 0.8978 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=17): time 1.633e-06/0.8885, allocations: 0 / 0.8978 GB, free: 10.67 MB / 0.7169 GB Notification: Performance of matching and sorting (n=17): time 0.0007874/0.8893, allocations: 299.4 kB / 0.8981 GB, free: 10.38 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.027e-05/0.8894, allocations: 55.41 kB / 0.8982 GB, free: 10.31 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003208/0.8897, allocations: 320.5 kB / 0.8985 GB, free: 9.984 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.8897, allocations: 29.7 kB / 0.8985 GB, free: 9.949 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001371/0.8899, allocations: 184.1 kB / 0.8987 GB, free: 9.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 4.552e-05/0.8899, allocations: 55.2 kB / 0.8987 GB, free: 9.711 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.812e-05/0.89, allocations: 49.61 kB / 0.8988 GB, free: 9.656 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001286/0.8901, allocations: 346.8 kB / 0.8991 GB, free: 9.309 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.8903, allocations: 63.95 kB / 0.8992 GB, free: 9.246 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000212/0.8905, allocations: 121.1 kB / 0.8993 GB, free: 9.109 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004058/0.8909, allocations: 212.6 kB / 0.8995 GB, free: 8.887 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.132e-06/0.891, allocations: 3.938 kB / 0.8995 GB, free: 8.883 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005699/0.8915, allocations: 257 kB / 0.8997 GB, free: 8.625 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.675e-05/0.8916, allocations: 8 kB / 0.8998 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.044e-06/0.8916, allocations: 0 / 0.8998 GB, free: 8.617 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.826e-05/0.8916, allocations: 4 kB / 0.8998 GB, free: 8.613 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002395/0.8919, allocations: 47.84 kB / 0.8998 GB, free: 8.566 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.162e-05/0.8919, allocations: 4 kB / 0.8998 GB, free: 8.562 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002089/0.8921, allocations: 23.83 kB / 0.8998 GB, free: 8.539 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.337e-05/0.8921, allocations: 12 kB / 0.8998 GB, free: 8.527 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.000178/0.8923, allocations: 153.9 kB / 0.9 GB, free: 8.367 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.272e-05/0.8924, allocations: 31.62 kB / 0.9 GB, free: 8.336 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004984/0.8929, allocations: 232.5 kB / 0.9002 GB, free: 8.102 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.322e-06/0.8929, allocations: 4 kB / 0.9002 GB, free: 8.098 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.185e-06/0.8929, allocations: 3.984 kB / 0.9002 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.04e-06/0.8929, allocations: 0 / 0.9002 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001101/0.8941, allocations: 0.7068 MB / 0.9009 GB, free: 7.309 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.645e-06/0.8941, allocations: 4.219 kB / 0.9009 GB, free: 7.305 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001739/0.8942, allocations: 35.98 kB / 0.901 GB, free: 7.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.441e-06/0.8943, allocations: 4 kB / 0.901 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.087e-05/0.8943, allocations: 8 kB / 0.901 GB, free: 7.258 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.559e-06/0.8943, allocations: 11.86 kB / 0.901 GB, free: 7.246 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.8943, allocations: 4 kB / 0.901 GB, free: 7.242 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007022/0.895, allocations: 447.9 kB / 0.9014 GB, free: 6.77 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001193/0.8952, allocations: 124.7 kB / 0.9015 GB, free: 6.629 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.623e-05/0.8952, allocations: 8.062 kB / 0.9016 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001747/0.8954, allocations: 15.92 kB / 0.9016 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.72e-05/0.8955, allocations: 15.98 kB / 0.9016 GB, free: 6.59 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.103e-05/0.8955, allocations: 4 kB / 0.9016 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002232/0.8957, allocations: 235 kB / 0.9018 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8957, allocations: 0 / 0.9018 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0004035/0.8961, allocations: 79.92 kB / 0.9019 GB, free: 6.281 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.0004037/0.8966, allocations: 174.1 kB / 0.9021 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004522/0.897, allocations: 195.6 kB / 0.9022 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.897, allocations: 192 / 0.9022 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.8972, allocations: 99.91 kB / 0.9023 GB, free: 5.816 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008815/0.8981, allocations: 164.6 kB / 0.9025 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001048/0.8992, allocations: 0.6416 MB / 0.9031 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003508/0.8996, allocations: 0.7793 MB / 0.9039 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0002041/0.8998, allocations: 70.89 kB / 0.9039 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.925e-05/0.8998, allocations: 27.44 kB / 0.904 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.51e-07/0.8998, allocations: 0 / 0.904 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.4367/1.337, allocations: 5.809 MB / 0.9096 GB, free: 182.7 MB / 0.7169 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)