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.0009672/0.0009672, allocations: 99.16 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.0008303/0.0008302, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.153/1.153, allocations: 223.2 MB / 239.9 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001622/0.001622, allocations: 278.8 kB / 291.3 MB, free: 1.887 MB / 238.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:5:3-5:34:writable] Warning: Got element f_alp that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_lay but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:6:3-6:35:writable] Warning: Got element f_lay that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_loss but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:7:3-7:37:writable] Warning: Got element f_loss that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Elements in the package.mo-file need to be in the same relative order as the package.order file. Got element named f_pv but it was already added because it was not the next element in the list at that time. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:8:3-8:33:writable] Warning: Got element f_pv that was not referenced in the package.order file. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/Buildings/Airvolumes/Parameter/package.mo:2:1-34:14:writable] Warning: f_pv was referenced in the package.order file, but was not found in package.mo, f_pv/package.mo or f_pv.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7348/0.7348, allocations: 144.6 MB / 487 MB, free: 7.215 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003847/0.0003849, allocations: 16.27 kB / 0.5683 GB, free: 38.19 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1301/0.1305, allocations: 83.09 MB / 0.6494 GB, free: 3.645 MB / 446.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3988/0.5293, allocations: 140.2 MB / 0.7863 GB, free: 2.238 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.00198/0.5314, allocations: 1.594 MB / 0.7879 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001693/0.5315, allocations: 12.03 kB / 0.7879 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004728/0.532, allocations: 170.2 kB / 0.788 GB, free: 2.215 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0009291/0.533, allocations: 0.5244 MB / 0.7886 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009417/0.5339, allocations: 480.9 kB / 0.789 GB, free: 2.207 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0004333/0.5344, allocations: 444.9 kB / 0.7894 GB, free: 2.203 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002741/0.5346, allocations: 186.4 kB / 0.7896 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000577/0.5352, allocations: 355.3 kB / 0.79 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.5354, allocations: 153.8 kB / 0.7901 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.5355, allocations: 14.5 kB / 0.7901 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007053/0.5362, allocations: 420 kB / 0.7905 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001065/0.5363, allocations: 94.73 kB / 0.7906 GB, free: 2.184 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001537/0.5364, allocations: 89.73 kB / 0.7907 GB, free: 18.15 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0005495/0.537, allocations: 396.8 kB / 0.7911 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.494e-06/0.537, allocations: 0 / 0.7911 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.272e-06/0.537, allocations: 0 / 0.7911 GB, free: 18.13 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.537, allocations: 4.688 kB / 0.7911 GB, free: 18.12 MB / 0.5762 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.0007413/0.5378, allocations: 0.6076 MB / 0.7917 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.307e-05/0.5378, allocations: 8.781 kB / 0.7917 GB, free: 17.64 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.5389, allocations: 163.7 kB / 0.7918 GB, free: 17.62 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000389/0.5393, allocations: 305.7 kB / 0.7921 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.68e-05/0.5393, allocations: 16.34 kB / 0.7921 GB, free: 17.4 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.187e-05/0.5394, allocations: 26.98 kB / 0.7922 GB, free: 17.39 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004847/0.5399, allocations: 283.8 kB / 0.7924 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.388e-06/0.5399, allocations: 4 kB / 0.7924 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.501e-05/0.5399, allocations: 9.312 kB / 0.7925 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.405e-06/0.5399, allocations: 6.156 kB / 0.7925 GB, free: 17.32 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004466/0.5404, allocations: 208.2 kB / 0.7927 GB, free: 17.32 MB / 0.5762 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.001288/0.5417, allocations: 1.231 MB / 0.7939 GB, free: 16.48 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002648/0.5419, allocations: 156.9 kB / 0.794 GB, free: 16.45 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003831/0.5423, allocations: 134.3 kB / 0.7941 GB, free: 16.36 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.5424, allocations: 39.75 kB / 0.7942 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.293e-06/0.5424, allocations: 0 / 0.7942 GB, free: 16.31 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007303/0.5431, allocations: 316.2 kB / 0.7945 GB, free: 16.25 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.702e-05/0.5432, allocations: 53.75 kB / 0.7945 GB, free: 16.19 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002815/0.5434, allocations: 318.7 kB / 0.7948 GB, free: 16.08 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.222e-05/0.5435, allocations: 29.83 kB / 0.7949 GB, free: 16.05 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 9.927e-05/0.5436, allocations: 186.1 kB / 0.795 GB, free: 15.94 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 3.397e-05/0.5436, allocations: 56.77 kB / 0.7951 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.327e-06/0.5436, allocations: 4.531 kB / 0.7951 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001019/0.5437, allocations: 340.8 kB / 0.7954 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001613/0.5439, allocations: 76.81 kB / 0.7955 GB, free: 15.59 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001821/0.5441, allocations: 126.4 kB / 0.7956 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.5443, allocations: 90.03 kB / 0.7957 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.5443, allocations: 0.625 kB / 0.7957 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004175/0.5447, allocations: 272.2 kB / 0.796 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.306e-05/0.5447, allocations: 5.875 kB / 0.796 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.751e-06/0.5447, allocations: 2.188 kB / 0.796 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.218e-05/0.5448, allocations: 6.234 kB / 0.796 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.545, allocations: 48.86 kB / 0.796 GB, free: 15.48 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.683e-06/0.545, allocations: 5.328 kB / 0.796 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5452, allocations: 42.39 kB / 0.7961 GB, free: 15.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.5452, allocations: 13 kB / 0.7961 GB, free: 15.45 MB / 0.5762 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.0001318/0.5453, allocations: 150.8 kB / 0.7962 GB, free: 15.34 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.755e-05/0.5454, allocations: 30.41 kB / 0.7963 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.5459, allocations: 245.3 kB / 0.7965 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.5459, allocations: 5.922 kB / 0.7965 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.068e-06/0.5459, allocations: 0 / 0.7965 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.5459, allocations: 5.469 kB / 0.7965 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009911/0.5469, allocations: 0.7214 MB / 0.7972 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/0.5469, allocations: 3.188 kB / 0.7972 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001687/0.5471, allocations: 42.03 kB / 0.7972 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.01e-06/0.5471, allocations: 3.25 kB / 0.7972 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.749e-05/0.5471, allocations: 4.375 kB / 0.7973 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.91e-06/0.5471, allocations: 3.578 kB / 0.7973 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.646e-06/0.5471, allocations: 2.25 kB / 0.7973 GB, free: 14.9 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006379/0.5478, allocations: 0.5371 MB / 0.7978 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001156/0.5479, allocations: 124.2 kB / 0.7979 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.431e-05/0.5479, allocations: 4.453 kB / 0.7979 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001856/0.5481, allocations: 20.52 kB / 0.7979 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.821e-05/0.5482, allocations: 23.09 kB / 0.7979 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.253e-05/0.5482, allocations: 5.875 kB / 0.798 GB, free: 14.45 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.000214/0.5484, allocations: 228.4 kB / 0.7982 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5484, allocations: 1.031 kB / 0.7982 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003898/0.5488, allocations: 80.59 kB / 0.7982 GB, free: 14.37 MB / 0.5762 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.0003342/0.5492, allocations: 178.4 kB / 0.7984 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004019/0.5496, allocations: 190.1 kB / 0.7986 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5496, allocations: 0 / 0.7986 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001854/0.5498, allocations: 103.7 kB / 0.7987 GB, free: 14.25 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007432/0.5505, allocations: 158 kB / 0.7988 GB, free: 14.23 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008801/0.5514, allocations: 0.7455 MB / 0.7996 GB, free: 13.79 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.5518, allocations: 0.7873 MB / 0.8003 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002002/0.552, allocations: 62.22 kB / 0.8004 GB, free: 13.09 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.705e-05/0.552, allocations: 31.72 kB / 0.8004 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of SimCode: time 5.01e-07/0.5521, allocations: 0.5625 kB / 0.8004 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of Templates: time 0.009195/0.5613, allocations: 5.33 MB / 0.8056 GB, free: 12.75 MB / 0.5762 GB make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: