Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_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 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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_8_Buildings.Fluid.Sensors.Examples.Velocity") translateModel(Buildings.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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.000993/0.000993, allocations: 99.62 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.001066/0.001066, 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.43/1.43, 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 8.1.4-maint.8.1.x/package.mo): time 1.61/1.61, allocations: 292.5 MB / 0.5497 GB, free: 14.64 MB / 462.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.0005093/0.0005093, allocations: 21.16 kB / 0.6735 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2398/0.2403, allocations: 116.3 MB / 0.7871 GB, free: 11.96 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.6767/0.917, allocations: 140.2 MB / 0.924 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002733/0.9198, allocations: 1.588 MB / 0.9256 GB, free: 5.777 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000328/0.9201, allocations: 12.56 kB / 0.9256 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0006384/0.9208, allocations: 176.1 kB / 0.9258 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001403/0.9222, allocations: 0.5131 MB / 0.9263 GB, free: 5.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001417/0.9236, allocations: 494.1 kB / 0.9267 GB, free: 5.762 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0006097/0.9243, allocations: 444.9 kB / 0.9271 GB, free: 5.758 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003427/0.9246, allocations: 191.6 kB / 0.9273 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007508/0.9254, allocations: 346.9 kB / 0.9277 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001937/0.9256, allocations: 154.4 kB / 0.9278 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 3.486e-05/0.9256, allocations: 20.92 kB / 0.9278 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000988/0.9266, allocations: 417.5 kB / 0.9282 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001058/0.9267, allocations: 96.3 kB / 0.9283 GB, free: 5.734 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000307/0.927, allocations: 88.25 kB / 0.9284 GB, free: 21.7 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0005455/0.9276, allocations: 401.2 kB / 0.9288 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 2.585e-06/0.9276, allocations: 2.5 kB / 0.9288 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.793e-06/0.9276, allocations: 0 / 0.9288 GB, free: 21.67 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.9276, allocations: 0 / 0.9288 GB, free: 21.67 MB / 0.7325 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.0008107/0.9284, allocations: 0.5949 MB / 0.9294 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.9285, allocations: 10.58 kB / 0.9294 GB, free: 21.2 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001129/0.9296, allocations: 168.3 kB / 0.9295 GB, free: 21.18 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003998/0.93, allocations: 308.7 kB / 0.9298 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.9301, allocations: 16.78 kB / 0.9298 GB, free: 20.95 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.563e-05/0.9301, allocations: 30.8 kB / 0.9299 GB, free: 20.94 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004492/0.9306, allocations: 284 kB / 0.9301 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.9306, allocations: 1.859 kB / 0.9302 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.9306, allocations: 8.844 kB / 0.9302 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.646e-06/0.9306, allocations: 8.891 kB / 0.9302 GB, free: 20.86 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004017/0.931, allocations: 215.4 kB / 0.9304 GB, free: 20.86 MB / 0.7325 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.00138/0.9324, allocations: 1.226 MB / 0.9316 GB, free: 20.02 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002609/0.9327, allocations: 151.9 kB / 0.9317 GB, free: 19.99 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003888/0.9331, allocations: 144.7 kB / 0.9319 GB, free: 19.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.656e-05/0.9332, allocations: 33.81 kB / 0.9319 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.9332, allocations: 0 / 0.9319 GB, free: 19.85 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007444/0.9339, allocations: 308.5 kB / 0.9322 GB, free: 19.8 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.934, allocations: 56.66 kB / 0.9322 GB, free: 19.73 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000305/0.9343, allocations: 323.9 kB / 0.9325 GB, free: 19.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.379e-05/0.9343, allocations: 28.02 kB / 0.9326 GB, free: 19.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.000119/0.9344, allocations: 179.2 kB / 0.9327 GB, free: 19.48 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 3.999e-05/0.9345, allocations: 66.17 kB / 0.9328 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.9345, allocations: 5.406 kB / 0.9328 GB, free: 19.44 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.9346, allocations: 340.8 kB / 0.9331 GB, free: 19.13 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001598/0.9348, allocations: 76.45 kB / 0.9332 GB, free: 19.12 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001947/0.935, allocations: 130.2 kB / 0.9333 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001701/0.9352, allocations: 88.59 kB / 0.9334 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.9352, allocations: 4.859 kB / 0.9334 GB, free: 19.07 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000445/0.9357, allocations: 264 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.9357, allocations: 5.406 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.9357, allocations: 5.516 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.491e-05/0.9357, allocations: 2.156 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002052/0.9359, allocations: 45.84 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.014e-06/0.9359, allocations: 5.422 kB / 0.9337 GB, free: 19.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002143/0.9362, allocations: 44.89 kB / 0.9338 GB, free: 18.99 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.9362, allocations: 13.77 kB / 0.9338 GB, free: 18.99 MB / 0.7325 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.0001347/0.9363, allocations: 150.8 kB / 0.9339 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.588e-05/0.9364, allocations: 35.45 kB / 0.934 GB, free: 18.86 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005403/0.9369, allocations: 238.1 kB / 0.9342 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.221e-06/0.9369, allocations: 2.141 kB / 0.9342 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.937, allocations: 6.438 kB / 0.9342 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.937, allocations: 0.7031 kB / 0.9342 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001144/0.9381, allocations: 0.7176 MB / 0.9349 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.659e-06/0.9381, allocations: 2.062 kB / 0.9349 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001903/0.9383, allocations: 41.27 kB / 0.9349 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.967e-06/0.9383, allocations: 4.562 kB / 0.9349 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.856e-05/0.9384, allocations: 6.156 kB / 0.935 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.112e-06/0.9384, allocations: 3.078 kB / 0.935 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.9384, allocations: 2.5 kB / 0.935 GB, free: 18.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007314/0.9391, allocations: 0.5338 MB / 0.9355 GB, free: 18.12 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001257/0.9393, allocations: 129.4 kB / 0.9356 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.549e-05/0.9393, allocations: 8.141 kB / 0.9356 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001968/0.9395, allocations: 17.12 kB / 0.9356 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.903e-05/0.9396, allocations: 19.28 kB / 0.9356 GB, free: 18 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.498e-05/0.9396, allocations: 12.14 kB / 0.9357 GB, free: 18 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002654/0.9399, allocations: 234.7 kB / 0.9359 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9399, allocations: 0.9688 kB / 0.9359 GB, free: 17.91 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004208/0.9403, allocations: 80 kB / 0.936 GB, free: 17.91 MB / 0.7325 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.0003548/0.9407, allocations: 168 kB / 0.9361 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004399/0.9411, allocations: 190.2 kB / 0.9363 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.9411, allocations: 1.5 kB / 0.9363 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001981/0.9413, allocations: 101.2 kB / 0.9364 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007771/0.9421, allocations: 150 kB / 0.9365 GB, free: 17.79 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009734/0.9431, allocations: 0.7484 MB / 0.9373 GB, free: 17.34 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003564/0.9435, allocations: 0.7918 MB / 0.938 GB, free: 16.64 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002311/0.9437, allocations: 62.81 kB / 0.9381 GB, free: 16.63 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.118e-05/0.9438, allocations: 25 kB / 0.9381 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of SimCode: time 2.31e-07/0.9438, allocations: 2.906 kB / 0.9381 GB, free: 16.62 MB / 0.7325 GB Notification: Performance of Templates: time 0.01027/0.9541, allocations: 5.333 MB / 0.9433 GB, free: 16.29 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.sim & ./Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: