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: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_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.005716/0.005716, allocations: 103.5 kB / 15.73 MB, free: 6.047 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.001411/0.001411, allocations: 189.1 kB / 16.67 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.237/1.237, allocations: 222.9 MB / 240.4 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002177/0.002177, allocations: 300.8 kB / 290.8 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8759/0.8759, allocations: 169.3 MB / 0.4983 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001781/0.001781, allocations: 95.84 kB / 0.681 GB, free: 7.453 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4337/0.4355, allocations: 86.98 MB / 0.7659 GB, free: 3.859 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1699/0.6055, allocations: 167.4 MB / 0.9294 GB, free: 11.81 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.002752/0.6083, allocations: 1.558 MB / 0.9309 GB, free: 10.25 MB / 0.7012 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004771/0.6088, allocations: 15.88 kB / 0.9309 GB, free: 10.23 MB / 0.7012 GB Notification: Performance of NFTyping.typeComponents: time 0.0005633/0.6093, allocations: 142.9 kB / 0.9311 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of NFTyping.typeBindings: time 0.001835/0.6113, allocations: 0.7117 MB / 0.9318 GB, free: 9.375 MB / 0.7012 GB Notification: Performance of NFTyping.typeClassSections: time 0.001515/0.6128, allocations: 0.6106 MB / 0.9324 GB, free: 8.766 MB / 0.7012 GB Notification: Performance of NFFlatten.flatten: time 0.0008898/0.6137, allocations: 0.7176 MB / 0.9331 GB, free: 8.047 MB / 0.7012 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004564/0.6142, allocations: 229.1 kB / 0.9333 GB, free: 7.824 MB / 0.7012 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007762/0.615, allocations: 346.6 kB / 0.9336 GB, free: 7.484 MB / 0.7012 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004102/0.6154, allocations: 231.1 kB / 0.9338 GB, free: 7.258 MB / 0.7012 GB Notification: Performance of NFPackage.collectConstants: time 6.59e-05/0.6155, allocations: 24 kB / 0.9338 GB, free: 7.234 MB / 0.7012 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001499/0.617, allocations: 0.8689 MB / 0.9347 GB, free: 6.363 MB / 0.7012 GB Notification: Performance of NFScalarize.scalarize: time 0.000154/0.6172, allocations: 107.7 kB / 0.9348 GB, free: 6.258 MB / 0.7012 GB Notification: Performance of NFVerifyModel.verify: time 0.0002159/0.6174, allocations: 179.1 kB / 0.935 GB, free: 6.082 MB / 0.7012 GB Notification: Performance of NFConvertDAE.convert: time 0.001142/0.6185, allocations: 0.7285 MB / 0.9357 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.6185, allocations: 0 / 0.9357 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.463e-06/0.6185, allocations: 0 / 0.9357 GB, free: 5.352 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 1.965e-05/0.6186, allocations: 0 / 0.9357 GB, free: 5.352 MB / 0.7012 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.001112/0.6197, allocations: 0.6622 MB / 0.9363 GB, free: 4.637 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 4.638e-05/0.6197, allocations: 15.97 kB / 0.9363 GB, free: 4.621 MB / 0.7012 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.501e-05/0.6198, allocations: 62.48 kB / 0.9364 GB, free: 4.551 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001164/0.621, allocations: 159.4 kB / 0.9366 GB, free: 4.395 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005168/0.6215, allocations: 318.7 kB / 0.9369 GB, free: 4.047 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.561e-05/0.6216, allocations: 24.5 kB / 0.9369 GB, free: 4.023 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.698e-05/0.6216, allocations: 20 kB / 0.9369 GB, free: 4.004 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.6221, allocations: 281.8 kB / 0.9372 GB, free: 3.711 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.6221, allocations: 3.984 kB / 0.9372 GB, free: 3.707 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.366e-05/0.6221, allocations: 16 kB / 0.9372 GB, free: 3.691 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.564e-06/0.6221, allocations: 4 kB / 0.9372 GB, free: 3.688 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004091/0.6226, allocations: 196.9 kB / 0.9374 GB, free: 3.496 MB / 0.7012 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.001414/0.624, allocations: 1.226 MB / 0.9386 GB, free: 2.164 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002773/0.6243, allocations: 146.5 kB / 0.9387 GB, free: 2.012 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001891/0.6245, allocations: 107.1 kB / 0.9388 GB, free: 1.906 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000542/0.625, allocations: 295.2 kB / 0.9391 GB, free: 1.562 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.435e-05/0.6251, allocations: 38.56 kB / 0.9391 GB, free: 1.516 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=17): time 1.372e-06/0.6251, allocations: 4 kB / 0.9391 GB, free: 1.512 MB / 0.7012 GB Notification: Performance of matching and sorting (n=17): time 0.0007472/0.6258, allocations: 293.4 kB / 0.9394 GB, free: 1.219 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.129e-05/0.6259, allocations: 55.31 kB / 0.9395 GB, free: 1.152 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003079/0.6262, allocations: 320.5 kB / 0.9398 GB, free: 0.832 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.6262, allocations: 29.7 kB / 0.9398 GB, free: 0.7969 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001207/0.6263, allocations: 188.2 kB / 0.94 GB, free: 0.6094 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 5.02e-05/0.6264, allocations: 63.09 kB / 0.94 GB, free: 0.5469 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.028e-05/0.6265, allocations: 41.7 kB / 0.9401 GB, free: 0.5 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001072/0.6266, allocations: 338.8 kB / 0.9404 GB, free: 164 kB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.6268, allocations: 75.88 kB / 0.9405 GB, free: 88 kB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002178/0.627, allocations: 131.9 kB / 0.9406 GB, free: 15.94 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/0.6273, allocations: 208.3 kB / 0.9408 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.6274, allocations: 0 / 0.9408 GB, free: 15.72 MB / 0.7169 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004875/0.6278, allocations: 253 kB / 0.941 GB, free: 15.47 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6279, allocations: 4 kB / 0.9411 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.701e-06/0.6279, allocations: 0 / 0.9411 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.393e-05/0.6279, allocations: 4 kB / 0.9411 GB, free: 15.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002114/0.6281, allocations: 51.91 kB / 0.9411 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.512e-06/0.6281, allocations: 3.938 kB / 0.9411 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000202/0.6283, allocations: 35.77 kB / 0.9411 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.645e-05/0.6284, allocations: 12 kB / 0.9412 GB, free: 15.36 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001347/0.6285, allocations: 157.7 kB / 0.9413 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.6286, allocations: 27.62 kB / 0.9413 GB, free: 15.17 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004558/0.629, allocations: 227.6 kB / 0.9415 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6291, allocations: 0 / 0.9415 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.6291, allocations: 4 kB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.939e-06/0.6291, allocations: 3.984 kB / 0.9416 GB, free: 14.93 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001004/0.6301, allocations: 0.707 MB / 0.9422 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.428e-06/0.6301, allocations: 4 kB / 0.9422 GB, free: 14.14 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001737/0.6303, allocations: 35.92 kB / 0.9423 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.839e-06/0.6303, allocations: 4 kB / 0.9423 GB, free: 14.1 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.645e-05/0.6303, allocations: 7.938 kB / 0.9423 GB, free: 14.09 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.44e-06/0.6303, allocations: 7.984 kB / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.754e-06/0.6303, allocations: 0 / 0.9423 GB, free: 14.08 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006366/0.631, allocations: 453 kB / 0.9427 GB, free: 13.6 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001349/0.6311, allocations: 132.7 kB / 0.9429 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.743e-05/0.6312, allocations: 7.938 kB / 0.9429 GB, free: 13.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000173/0.6314, allocations: 11.98 kB / 0.9429 GB, free: 13.43 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.005e-05/0.6314, allocations: 15.98 kB / 0.9429 GB, free: 13.42 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.358e-05/0.6314, allocations: 8 kB / 0.9429 GB, free: 13.41 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0002131/0.6316, allocations: 227 kB / 0.9431 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6317, allocations: 3.938 kB / 0.9431 GB, free: 13.19 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003816/0.632, allocations: 91.89 kB / 0.9432 GB, free: 13.1 MB / 0.7169 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001141/0.6332, allocations: 1.048 MB / 0.9442 GB, free: 12.01 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0004249/0.6336, allocations: 179.8 kB / 0.9444 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.6336, allocations: 0 / 0.9444 GB, free: 11.83 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001872/0.6338, allocations: 91.83 kB / 0.9445 GB, free: 11.74 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008442/0.6347, allocations: 165.8 kB / 0.9447 GB, free: 11.58 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003522/0.6382, allocations: 3.003 MB / 0.9476 GB, free: 8.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.6386, allocations: 0.7834 MB / 0.9483 GB, free: 7.621 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0001971/0.6388, allocations: 62.92 kB / 0.9484 GB, free: 7.562 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001382/0.6389, allocations: 91.41 kB / 0.9485 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of SimCode: time 3e-07/0.6389, allocations: 0 / 0.9485 GB, free: 7.473 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3595/0.9984, allocations: 8.968 MB / 0.9573 GB, free: 190.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.476/8.475, allocations: 11.7 kB / 0.9573 GB, free: 190.7 MB / 0.7169 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1)