Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.487/1.487, allocations: 287.4 MB / 302.6 MB, free: 8.223 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 179.1 kB / 371.1 MB, free: 10.82 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.341/1.341, allocations: 205.4 MB / 0.6298 GB, free: 10.57 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0006929/0.0006929, allocations: 90.67 kB / 0.7431 GB, free: 6.555 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003302/0.0003305, allocations: 11.7 kB / 0.8662 GB, free: 140.7 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.158/0.1583, allocations: 115.3 MB / 0.9787 GB, free: 28.11 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.5583/0.7166, allocations: 152.1 MB / 1.127 GB, free: 0.9297 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.002754/0.7194, allocations: 1.479 MB / 1.129 GB, free: 0.7852 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000348/0.7198, allocations: 11.5 kB / 1.129 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0004495/0.7203, allocations: 114.1 kB / 1.129 GB, free: 0.7305 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.001647/0.722, allocations: 0.508 MB / 1.129 GB, free: 0.6016 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.001402/0.7234, allocations: 456.7 kB / 1.13 GB, free: 0.5508 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.0008576/0.7243, allocations: 0.8492 MB / 1.131 GB, free: 432 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000302/0.7246, allocations: 204.3 kB / 1.131 GB, free: 392 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005306/0.7251, allocations: 312.1 kB / 1.131 GB, free: 324 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002279/0.7253, allocations: 221.8 kB / 1.131 GB, free: 280 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 3.693e-05/0.7254, allocations: 17.81 kB / 1.131 GB, free: 276 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001085/0.7265, allocations: 464.1 kB / 1.132 GB, free: 220 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 9.458e-05/0.7266, allocations: 96.83 kB / 1.132 GB, free: 208 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001029/0.7267, allocations: 87.05 kB / 1.132 GB, free: 16.16 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0004993/0.7272, allocations: 450.3 kB / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.7272, allocations: 0 / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.783e-06/0.7272, allocations: 0 / 1.132 GB, free: 16.12 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.272e-06/0.7272, allocations: 1.062 kB / 1.132 GB, free: 16.12 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.0008392/0.7281, allocations: 0.608 MB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/0.7281, allocations: 9.188 kB / 1.133 GB, free: 15.63 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.7282, allocations: 60.03 kB / 1.133 GB, free: 15.59 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000993/0.7292, allocations: 157.9 kB / 1.133 GB, free: 15.57 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004492/0.7297, allocations: 314.6 kB / 1.133 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.988e-05/0.7297, allocations: 18.97 kB / 1.133 GB, free: 15.34 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.653e-05/0.7298, allocations: 32.03 kB / 1.133 GB, free: 15.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000459/0.7302, allocations: 281.2 kB / 1.134 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.7302, allocations: 0 / 1.134 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.18e-05/0.7303, allocations: 11.38 kB / 1.134 GB, free: 15.25 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-06/0.7303, allocations: 9.75 kB / 1.134 GB, free: 15.24 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003904/0.7307, allocations: 209.7 kB / 1.134 GB, free: 15.24 MB / 0.698 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.001324/0.732, allocations: 1.233 MB / 1.135 GB, free: 14.38 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002706/0.7323, allocations: 152.9 kB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001706/0.7325, allocations: 104.3 kB / 1.135 GB, free: 14.34 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000545/0.733, allocations: 315.4 kB / 1.136 GB, free: 14.06 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.734e-05/0.7331, allocations: 33.91 kB / 1.136 GB, free: 14.02 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 1.343e-06/0.7331, allocations: 1.859 kB / 1.136 GB, free: 14.02 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.0006938/0.7338, allocations: 313.5 kB / 1.136 GB, free: 13.96 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.896e-05/0.7338, allocations: 56.75 kB / 1.136 GB, free: 13.9 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002976/0.7341, allocations: 317.3 kB / 1.136 GB, free: 13.79 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/0.7342, allocations: 29.08 kB / 1.136 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001224/0.7343, allocations: 183.7 kB / 1.137 GB, free: 13.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 5.498e-05/0.7344, allocations: 66.33 kB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.177e-06/0.7344, allocations: 3 kB / 1.137 GB, free: 13.61 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001273/0.7345, allocations: 338.5 kB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001541/0.7347, allocations: 75.67 kB / 1.137 GB, free: 13.3 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001957/0.7349, allocations: 135.7 kB / 1.137 GB, free: 13.24 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003307/0.7352, allocations: 204.7 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.7352, allocations: 3.938 kB / 1.137 GB, free: 13.18 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004396/0.7357, allocations: 271 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.7357, allocations: 5.906 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.632e-06/0.7357, allocations: 2.562 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7357, allocations: 1.625 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001916/0.7359, allocations: 47.22 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.378e-06/0.7359, allocations: 6 kB / 1.138 GB, free: 13.11 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002076/0.7362, allocations: 42.56 kB / 1.138 GB, free: 13.09 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.556e-05/0.7362, allocations: 17.19 kB / 1.138 GB, free: 13.09 MB / 0.698 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.0001232/0.7363, allocations: 149.2 kB / 1.138 GB, free: 12.97 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.748e-05/0.7364, allocations: 29.34 kB / 1.138 GB, free: 12.95 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004289/0.7368, allocations: 246.6 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.887e-06/0.7368, allocations: 2.969 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.429e-06/0.7368, allocations: 0 / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.148e-06/0.7368, allocations: 2.438 kB / 1.138 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009678/0.7378, allocations: 0.7171 MB / 1.139 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.7378, allocations: 224 / 1.139 GB, free: 12.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001639/0.738, allocations: 42.5 kB / 1.139 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.849e-06/0.738, allocations: 5.547 kB / 1.139 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.549e-05/0.738, allocations: 3.094 kB / 1.139 GB, free: 12.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.042e-05/0.738, allocations: 11.06 kB / 1.139 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.584e-06/0.7381, allocations: 4.859 kB / 1.139 GB, free: 12.5 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006461/0.7387, allocations: 460 kB / 1.139 GB, free: 12.29 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001252/0.7388, allocations: 120.6 kB / 1.14 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.4e-05/0.7389, allocations: 9.781 kB / 1.14 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000179/0.7391, allocations: 20 kB / 1.14 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.825e-05/0.7391, allocations: 15.47 kB / 1.14 GB, free: 12.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.293e-05/0.7392, allocations: 8.938 kB / 1.14 GB, free: 12.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002016/0.7394, allocations: 227.6 kB / 1.14 GB, free: 12.1 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7394, allocations: 0 / 1.14 GB, free: 12.1 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003746/0.7397, allocations: 90 kB / 1.14 GB, free: 12.09 MB / 0.698 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.001169/0.7409, allocations: 1.057 MB / 1.141 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003924/0.7413, allocations: 194.5 kB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7413, allocations: 1.062 kB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000193/0.7415, allocations: 101.5 kB / 1.141 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009076/0.7425, allocations: 148.3 kB / 1.141 GB, free: 11.29 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002602/0.7451, allocations: 1.865 MB / 1.143 GB, free: 10.5 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.7454, allocations: 0.7842 MB / 1.144 GB, free: 9.805 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0002409/0.7457, allocations: 63.53 kB / 1.144 GB, free: 9.789 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001204/0.7458, allocations: 91.33 kB / 1.144 GB, free: 9.781 MB / 0.698 GB Notification: Performance of SimCode: time 5.11e-07/0.7458, allocations: 0 / 1.144 GB, free: 9.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1369/0.8827, allocations: 8.422 MB / 1.152 GB, free: 6.211 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001961/0.883, allocations: 217.1 kB / 1.152 GB, free: 5.969 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.15/3.033, allocations: 0 / 1.152 GB, free: 5.969 MB / 0.698 GB (rm -f Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_8.0.0_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1)