Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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: "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Sensors.Examples.Velocity,fileNamePrefix="Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001702/0.001702, allocations: 99.94 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.002077/0.002078, 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 4.0.0+maint.om/package.mo): time 1.562/1.562, allocations: 223.2 MB / 239.9 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.754/2.754, allocations: 409.2 MB / 0.6838 GB, free: 1.004 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003471/0.0003475, allocations: 8 kB / 0.8375 GB, free: 6.559 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7834/0.7837, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.1701/0.9539, allocations: 140.2 MB / 1.118 GB, free: 9.746 MB / 0.8731 GB Notification: Performance of NFInst.instExpressions: time 0.002818/0.9567, allocations: 1.604 MB / 1.119 GB, free: 8.141 MB / 0.8731 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002642/0.957, allocations: 11.88 kB / 1.119 GB, free: 8.129 MB / 0.8731 GB Notification: Performance of NFTyping.typeComponents: time 0.00067/0.9577, allocations: 167.2 kB / 1.12 GB, free: 7.965 MB / 0.8731 GB Notification: Performance of NFTyping.typeBindings: time 0.001412/0.9591, allocations: 0.5258 MB / 1.12 GB, free: 7.438 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.001418/0.9605, allocations: 488.5 kB / 1.12 GB, free: 6.965 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.0006269/0.9612, allocations: 440.4 kB / 1.121 GB, free: 6.535 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003182/0.9615, allocations: 189.2 kB / 1.121 GB, free: 6.355 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007098/0.9622, allocations: 347 kB / 1.121 GB, free: 6.016 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002055/0.9625, allocations: 155.4 kB / 1.122 GB, free: 5.863 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.9625, allocations: 16 kB / 1.122 GB, free: 5.848 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008797/0.9634, allocations: 427.3 kB / 1.122 GB, free: 5.43 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.9635, allocations: 99.64 kB / 1.122 GB, free: 5.332 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 8.389e-05/0.9636, allocations: 81.58 kB / 1.122 GB, free: 5.246 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.9641, allocations: 407 kB / 1.123 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.9641, allocations: 0 / 1.123 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.312e-06/0.9641, allocations: 0 / 1.123 GB, free: 4.848 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.292e-06/0.9642, allocations: 0 / 1.123 GB, free: 4.848 MB / 0.8731 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.0008746/0.965, allocations: 0.5961 MB / 1.123 GB, free: 4.203 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 5.204e-05/0.9651, allocations: 8.031 kB / 1.123 GB, free: 4.195 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.938e-05/0.9652, allocations: 62.47 kB / 1.123 GB, free: 4.125 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001212/0.9664, allocations: 163.4 kB / 1.123 GB, free: 3.965 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005993/0.967, allocations: 302.8 kB / 1.124 GB, free: 3.629 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.375e-05/0.967, allocations: 16.56 kB / 1.124 GB, free: 3.613 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.534e-05/0.9671, allocations: 24 kB / 1.124 GB, free: 3.59 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006259/0.9677, allocations: 289.8 kB / 1.124 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.447e-05/0.9678, allocations: 0 / 1.124 GB, free: 3.285 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.262e-05/0.9678, allocations: 12 kB / 1.124 GB, free: 3.273 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.338e-05/0.9678, allocations: 4 kB / 1.124 GB, free: 3.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004599/0.9683, allocations: 212.9 kB / 1.124 GB, free: 3.062 MB / 0.8731 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.001725/0.97, allocations: 1.231 MB / 1.125 GB, free: 1.727 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003009/0.9703, allocations: 146.5 kB / 1.126 GB, free: 1.574 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004399/0.9708, allocations: 145 kB / 1.126 GB, free: 1.414 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.514e-05/0.9708, allocations: 30.56 kB / 1.126 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=17): time 1.734e-06/0.9708, allocations: 0 / 1.126 GB, free: 1.375 MB / 0.8731 GB Notification: Performance of matching and sorting (n=17): time 0.0008566/0.9717, allocations: 318.1 kB / 1.126 GB, free: 1.059 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.897e-05/0.9718, allocations: 55.41 kB / 1.126 GB, free: 0.9922 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003541/0.9721, allocations: 312.5 kB / 1.126 GB, free: 0.6797 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.997e-05/0.9722, allocations: 41.64 kB / 1.126 GB, free: 0.6328 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001333/0.9723, allocations: 184.1 kB / 1.127 GB, free: 460 kB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 5.439e-05/0.9724, allocations: 59.11 kB / 1.127 GB, free: 400 kB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/0.9724, allocations: 4 kB / 1.127 GB, free: 396 kB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.9725, allocations: 342.8 kB / 1.127 GB, free: 44 kB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001921/0.9727, allocations: 75.89 kB / 1.127 GB, free: 15.97 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002987/0.973, allocations: 129.1 kB / 1.127 GB, free: 15.82 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002586/0.9733, allocations: 88.52 kB / 1.127 GB, free: 15.74 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.209e-06/0.9733, allocations: 4 kB / 1.127 GB, free: 15.73 MB / 0.8887 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005556/0.9739, allocations: 249.8 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.925e-05/0.9739, allocations: 8 kB / 1.127 GB, free: 15.48 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.871e-06/0.9739, allocations: 4.094 kB / 1.127 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.417e-05/0.974, allocations: 4 kB / 1.127 GB, free: 15.47 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002184/0.9742, allocations: 51.91 kB / 1.128 GB, free: 15.42 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.071e-05/0.9742, allocations: 7.953 kB / 1.128 GB, free: 15.41 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002261/0.9744, allocations: 35.67 kB / 1.128 GB, free: 15.38 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.005e-05/0.9745, allocations: 12 kB / 1.128 GB, free: 15.36 MB / 0.8887 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.0001592/0.9746, allocations: 153.8 kB / 1.128 GB, free: 15.2 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.339e-05/0.9747, allocations: 31.62 kB / 1.128 GB, free: 15.17 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004985/0.9752, allocations: 245.8 kB / 1.128 GB, free: 14.93 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.9752, allocations: 4 kB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.092e-06/0.9752, allocations: 3.953 kB / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.9752, allocations: 0 / 1.128 GB, free: 14.92 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001075/0.9763, allocations: 0.7146 MB / 1.129 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.9763, allocations: 4 kB / 1.129 GB, free: 14.12 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001901/0.9765, allocations: 43.91 kB / 1.129 GB, free: 14.08 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.162e-06/0.9766, allocations: 8.219 kB / 1.129 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.699e-05/0.9766, allocations: 4 kB / 1.129 GB, free: 14.07 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.058e-06/0.9766, allocations: 4 kB / 1.129 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.9766, allocations: 0 / 1.129 GB, free: 14.06 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007889/0.9774, allocations: 0.5423 MB / 1.129 GB, free: 13.44 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001365/0.9775, allocations: 124.6 kB / 1.129 GB, free: 13.3 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.685e-05/0.9776, allocations: 8 kB / 1.129 GB, free: 13.29 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000201/0.9778, allocations: 20.19 kB / 1.129 GB, free: 13.27 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.967e-05/0.9779, allocations: 23.91 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.129e-05/0.9779, allocations: 4 kB / 1.129 GB, free: 13.25 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.0002397/0.9781, allocations: 231 kB / 1.13 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9781, allocations: 0 / 1.13 GB, free: 13.02 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0004263/0.9786, allocations: 83.98 kB / 1.13 GB, free: 12.94 MB / 0.8887 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.001633/0.9802, allocations: 1.625 MB / 1.131 GB, free: 11.25 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0004731/0.9807, allocations: 191.7 kB / 1.132 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9807, allocations: 0 / 1.132 GB, free: 11.06 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 0.0001959/0.9809, allocations: 96.08 kB / 1.132 GB, free: 10.97 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008336/0.9818, allocations: 163.3 kB / 1.132 GB, free: 10.81 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002985/0.9848, allocations: 2.585 MB / 1.134 GB, free: 8.133 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004468/0.9852, allocations: 0.7914 MB / 1.135 GB, free: 7.316 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.9855, allocations: 62.94 kB / 1.135 GB, free: 7.254 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001449/0.9856, allocations: 95.41 kB / 1.135 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of SimCode: time 5.31e-07/0.9856, allocations: 0 / 1.135 GB, free: 7.16 MB / 0.8887 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.159/1.145, allocations: 8.379 MB / 1.143 GB, free: 14.98 MB / 0.9044 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003046/1.145, allocations: 217.4 kB / 1.144 GB, free: 14.75 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.105/3.25, allocations: 0 / 1.144 GB, free: 14.75 MB / 0.9044 GB (rm -f Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe >> ../files/Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_Sensors_Examples_Velocity.fmu > Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.Sensors.Examples.Velocity_res.mat does not exist to compare? outputFormat=mat