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/Buildings 7.0.3-maint.7.0.x/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.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.583/1.583, allocations: 252 MB / 268 MB, free: 10.86 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.0009179/0.0009179, allocations: 174.8 kB / 327.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.674/1.674, allocations: 205.4 MB / 0.5786 GB, free: 20.17 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.0007994/0.0007995, allocations: 78.38 kB / 0.6832 GB, free: 12.78 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004592/0.0004593, allocations: 13.56 kB / 0.7976 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2742/0.2747, allocations: 106.3 MB / 0.9014 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.7727/1.047, allocations: 163.1 MB / 1.061 GB, free: 2.027 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.003947/1.051, allocations: 1.599 MB / 1.062 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004636/1.052, allocations: 10.91 kB / 1.062 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.000583/1.053, allocations: 118.5 kB / 1.062 GB, free: 1.996 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.002436/1.055, allocations: 0.667 MB / 1.063 GB, free: 1.965 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002185/1.057, allocations: 0.5503 MB / 1.064 GB, free: 1.945 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001702/1.059, allocations: 0.9837 MB / 1.065 GB, free: 1.941 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004406/1.059, allocations: 196.1 kB / 1.065 GB, free: 1.93 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007876/1.06, allocations: 319.7 kB / 1.065 GB, free: 1.926 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004192/1.061, allocations: 237.2 kB / 1.065 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 5.044e-05/1.061, allocations: 15.06 kB / 1.065 GB, free: 1.922 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002678/1.063, allocations: 1.012 MB / 1.066 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0001947/1.064, allocations: 95.17 kB / 1.066 GB, free: 1.914 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0002614/1.064, allocations: 188 kB / 1.067 GB, free: 1.883 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001099/1.065, allocations: 0.4974 MB / 1.067 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/1.065, allocations: 1.219 kB / 1.067 GB, free: 1.848 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.773e-06/1.065, allocations: 0 / 1.067 GB, free: 1.848 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.871e-06/1.065, allocations: 6.969 kB / 1.067 GB, free: 1.844 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.001278/1.066, allocations: 0.6077 MB / 1.068 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/1.066, allocations: 10.27 kB / 1.068 GB, free: 17.36 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00169/1.068, allocations: 153.1 kB / 1.068 GB, free: 17.35 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005546/1.069, allocations: 325 kB / 1.068 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.018e-05/1.069, allocations: 20.47 kB / 1.068 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.875e-05/1.069, allocations: 22.28 kB / 1.068 GB, free: 17.1 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007218/1.069, allocations: 286.7 kB / 1.068 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/1.07, allocations: 4 kB / 1.068 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.208e-05/1.07, allocations: 10.88 kB / 1.068 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.07e-05/1.07, allocations: 6.031 kB / 1.068 GB, free: 17.02 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005859/1.07, allocations: 211.3 kB / 1.069 GB, free: 17.02 MB / 0.7136 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.002044/1.072, allocations: 1.233 MB / 1.07 GB, free: 16.18 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004299/1.073, allocations: 156.6 kB / 1.07 GB, free: 16.15 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000298/1.073, allocations: 103.1 kB / 1.07 GB, free: 16.14 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008531/1.074, allocations: 315.3 kB / 1.07 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.408e-05/1.074, allocations: 34.39 kB / 1.07 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=17): time 2.585e-06/1.074, allocations: 0.6875 kB / 1.07 GB, free: 15.82 MB / 0.7136 GB Notification: Performance of matching and sorting (n=17): time 0.001334/1.075, allocations: 315.6 kB / 1.071 GB, free: 15.76 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.333e-05/1.075, allocations: 54.2 kB / 1.071 GB, free: 15.7 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005715/1.076, allocations: 326.7 kB / 1.071 GB, free: 15.59 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 3.744e-05/1.076, allocations: 31.45 kB / 1.071 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.000194/1.076, allocations: 182.2 kB / 1.071 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 7.071e-05/1.076, allocations: 56.19 kB / 1.071 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.65e-05/1.076, allocations: 4.656 kB / 1.071 GB, free: 15.42 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0002014/1.076, allocations: 342.2 kB / 1.072 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003129/1.077, allocations: 73.95 kB / 1.072 GB, free: 15.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003884/1.077, allocations: 137.7 kB / 1.072 GB, free: 15.05 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006442/1.078, allocations: 210.7 kB / 1.072 GB, free: 15 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.026e-06/1.078, allocations: 0 / 1.072 GB, free: 15 MB / 0.7136 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008483/1.079, allocations: 261.8 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.933e-05/1.079, allocations: 8.562 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.19e-05/1.079, allocations: 3.891 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.134e-05/1.079, allocations: 2.281 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003496/1.079, allocations: 50.53 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.264e-05/1.079, allocations: 2.859 kB / 1.072 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003752/1.08, allocations: 43.28 kB / 1.072 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.724e-05/1.08, allocations: 9.203 kB / 1.072 GB, free: 14.93 MB / 0.7136 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.0002534/1.08, allocations: 153.9 kB / 1.073 GB, free: 14.81 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.954e-05/1.08, allocations: 30.62 kB / 1.073 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008518/1.081, allocations: 248.1 kB / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.667e-06/1.081, allocations: 2.406 kB / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.59e-06/1.081, allocations: 0 / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/1.081, allocations: 1.625 kB / 1.073 GB, free: 14.75 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001839/1.083, allocations: 0.7151 MB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.682e-06/1.083, allocations: 3.5 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002874/1.083, allocations: 37.45 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.408e-06/1.083, allocations: 6.781 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.021e-05/1.083, allocations: 8.312 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.454e-06/1.083, allocations: 8.922 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.598e-06/1.083, allocations: 2.469 kB / 1.074 GB, free: 14.38 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00112/1.084, allocations: 464.6 kB / 1.074 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001972/1.085, allocations: 132.5 kB / 1.074 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.786e-05/1.085, allocations: 5.219 kB / 1.074 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003521/1.085, allocations: 24.44 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.785e-05/1.085, allocations: 11.89 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.571e-05/1.085, allocations: 10.44 kB / 1.074 GB, free: 14.04 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0004024/1.086, allocations: 231.4 kB / 1.075 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.21e-07/1.086, allocations: 0 / 1.075 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0007539/1.086, allocations: 88.09 kB / 1.075 GB, free: 13.95 MB / 0.7136 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.0005155/1.087, allocations: 172.6 kB / 1.075 GB, free: 13.85 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0007207/1.088, allocations: 195.4 kB / 1.075 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/1.088, allocations: 0 / 1.075 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.0003295/1.088, allocations: 99.75 kB / 1.075 GB, free: 13.84 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001583/1.09, allocations: 163.4 kB / 1.075 GB, free: 13.82 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001728/1.091, allocations: 0.7961 MB / 1.076 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005594/1.092, allocations: 0.7831 MB / 1.077 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001341/1.092, allocations: 27.38 kB / 1.077 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of SimCode: time 1.523e-06/1.092, allocations: 0 / 1.077 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of Templates: time 0.01354/1.106, allocations: 4.88 MB / 1.082 GB, free: 12.26 MB / 0.7136 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)