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.0009506/0.0009506, allocations: 100.1 kB / 15.05 MB, free: 1.105 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.001583/0.001583, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.733/1.733, allocations: 205.4 MB / 222.1 MB, free: 5.652 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.59/1.59, allocations: 251.9 MB / 0.51 GB, free: 4.801 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.0005878/0.0005878, allocations: 19.44 kB / 0.6241 GB, free: 1.16 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6181/0.6187, allocations: 106.3 MB / 0.728 GB, free: 11.41 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1763/0.795, allocations: 140.3 MB / 0.865 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of NFInst.instExpressions: time 0.00426/0.7993, allocations: 1.638 MB / 0.8666 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004267/0.7998, allocations: 11.88 kB / 0.8666 GB, free: 13.08 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0009245/0.8007, allocations: 175.2 kB / 0.8668 GB, free: 12.91 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002042/0.8028, allocations: 0.5336 MB / 0.8673 GB, free: 12.38 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002043/0.8048, allocations: 0.5099 MB / 0.8678 GB, free: 11.87 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.000892/0.8057, allocations: 444.4 kB / 0.8682 GB, free: 11.43 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004732/0.8062, allocations: 189.2 kB / 0.8684 GB, free: 11.25 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001074/0.8073, allocations: 347 kB / 0.8687 GB, free: 10.91 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000283/0.8076, allocations: 159.3 kB / 0.8689 GB, free: 10.75 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 5.27e-05/0.8077, allocations: 16 kB / 0.8689 GB, free: 10.74 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001348/0.809, allocations: 427.3 kB / 0.8693 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.000155/0.8092, allocations: 91.77 kB / 0.8694 GB, free: 10.23 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0001172/0.8093, allocations: 85.52 kB / 0.8695 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.000725/0.8101, allocations: 399.1 kB / 0.8699 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.377e-06/0.8101, allocations: 0 / 0.8699 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.374e-06/0.8101, allocations: 0 / 0.8699 GB, free: 9.75 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 5.911e-06/0.8101, allocations: 0 / 0.8699 GB, free: 9.75 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.00123/0.8114, allocations: 0.6107 MB / 0.8705 GB, free: 9.094 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.8114, allocations: 8.031 kB / 0.8705 GB, free: 9.086 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001837/0.8133, allocations: 163.4 kB / 0.8706 GB, free: 8.926 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006091/0.8139, allocations: 302.9 kB / 0.8709 GB, free: 8.59 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.061e-05/0.8139, allocations: 12.56 kB / 0.8709 GB, free: 8.578 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.334e-05/0.814, allocations: 27.91 kB / 0.8709 GB, free: 8.551 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.8147, allocations: 289.8 kB / 0.8712 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.333e-05/0.8148, allocations: 0 / 0.8712 GB, free: 8.25 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.652e-05/0.8148, allocations: 12 kB / 0.8712 GB, free: 8.238 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.282e-05/0.8148, allocations: 4 kB / 0.8712 GB, free: 8.234 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006345/0.8155, allocations: 212.9 kB / 0.8714 GB, free: 8.027 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.002001/0.8175, allocations: 1.238 MB / 0.8726 GB, free: 6.684 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004117/0.8179, allocations: 142.5 kB / 0.8728 GB, free: 6.535 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005624/0.8185, allocations: 145 kB / 0.8729 GB, free: 6.375 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.792e-05/0.8185, allocations: 30.56 kB / 0.8729 GB, free: 6.336 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=17): time 4.067e-06/0.8185, allocations: 3.938 kB / 0.873 GB, free: 6.332 MB / 0.6856 GB Notification: Performance of matching and sorting (n=17): time 0.001144/0.8197, allocations: 319.5 kB / 0.8733 GB, free: 6.016 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.177e-05/0.8198, allocations: 51.41 kB / 0.8733 GB, free: 5.953 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00048/0.8202, allocations: 324.4 kB / 0.8736 GB, free: 5.625 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 3.473e-05/0.8203, allocations: 29.7 kB / 0.8736 GB, free: 5.59 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001897/0.8205, allocations: 184.2 kB / 0.8738 GB, free: 5.406 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 7.579e-05/0.8206, allocations: 59.11 kB / 0.8739 GB, free: 5.348 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.36e-05/0.8206, allocations: 4 kB / 0.8739 GB, free: 5.344 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001708/0.8208, allocations: 338.8 kB / 0.8742 GB, free: 5.004 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002508/0.821, allocations: 75.94 kB / 0.8743 GB, free: 4.93 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003258/0.8214, allocations: 130.9 kB / 0.8744 GB, free: 4.785 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002884/0.8217, allocations: 87.89 kB / 0.8745 GB, free: 4.699 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.8217, allocations: 4 kB / 0.8745 GB, free: 4.695 MB / 0.6856 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007054/0.8224, allocations: 264.4 kB / 0.8747 GB, free: 4.434 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.359e-05/0.8225, allocations: 8 kB / 0.8747 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.8225, allocations: 0 / 0.8747 GB, free: 4.426 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.082e-05/0.8225, allocations: 8.094 kB / 0.8748 GB, free: 4.418 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003125/0.8228, allocations: 47.97 kB / 0.8748 GB, free: 4.371 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.516e-05/0.8229, allocations: 7.938 kB / 0.8748 GB, free: 4.363 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003302/0.8232, allocations: 35.73 kB / 0.8748 GB, free: 4.328 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.902e-05/0.8232, allocations: 4 kB / 0.8748 GB, free: 4.324 MB / 0.6856 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.000208/0.8235, allocations: 153.8 kB / 0.875 GB, free: 4.164 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.286e-05/0.8236, allocations: 35.81 kB / 0.875 GB, free: 4.129 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007139/0.8243, allocations: 248.6 kB / 0.8753 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.311e-05/0.8243, allocations: 0 / 0.8753 GB, free: 3.879 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.547e-06/0.8244, allocations: 4 kB / 0.8753 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.38e-06/0.8244, allocations: 0 / 0.8753 GB, free: 3.875 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001358/0.8257, allocations: 0.7146 MB / 0.876 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8258, allocations: 4 kB / 0.876 GB, free: 3.078 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002234/0.826, allocations: 39.97 kB / 0.876 GB, free: 3.039 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.718e-06/0.826, allocations: 4 kB / 0.876 GB, free: 3.035 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.03e-05/0.826, allocations: 4.219 kB / 0.876 GB, free: 3.031 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.1e-06/0.8261, allocations: 7.938 kB / 0.876 GB, free: 3.023 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.937e-06/0.8261, allocations: 4 kB / 0.876 GB, free: 3.02 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008892/0.827, allocations: 0.5419 MB / 0.8766 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001571/0.8271, allocations: 124.6 kB / 0.8767 GB, free: 2.258 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.728e-05/0.8272, allocations: 8 kB / 0.8767 GB, free: 2.25 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000246/0.8275, allocations: 20.05 kB / 0.8767 GB, free: 2.23 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.104e-05/0.8275, allocations: 19.94 kB / 0.8767 GB, free: 2.211 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-05/0.8275, allocations: 4 kB / 0.8767 GB, free: 2.207 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002635/0.8278, allocations: 231 kB / 0.8769 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.7e-07/0.8278, allocations: 0 / 0.8769 GB, free: 1.984 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0005152/0.8283, allocations: 83.84 kB / 0.877 GB, free: 1.902 MB / 0.6856 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004424/0.8288, allocations: 163.1 kB / 0.8772 GB, free: 1.738 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004653/0.8293, allocations: 187.9 kB / 0.8774 GB, free: 1.555 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.8293, allocations: 4 kB / 0.8774 GB, free: 1.551 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.0001934/0.8295, allocations: 95.83 kB / 0.8775 GB, free: 1.457 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008236/0.8303, allocations: 166 kB / 0.8776 GB, free: 1.297 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001058/0.8314, allocations: 0.7393 MB / 0.8783 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003542/0.8318, allocations: 0.7914 MB / 0.8791 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.0002191/0.832, allocations: 74.91 kB / 0.8792 GB, free: 15.62 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.96e-05/0.8321, allocations: 23.44 kB / 0.8792 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of SimCode: time 2.2e-07/0.8321, allocations: 0 / 0.8792 GB, free: 15.6 MB / 0.7012 GB Notification: Performance of Templates: time 0.01024/0.8423, allocations: 5.332 MB / 0.8844 GB, free: 10.36 MB / 0.7012 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: