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.001058/0.001058, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 198.4 kB / 16.54 MB, free: 6.672 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.255/1.255, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002124/0.002124, allocations: 286.5 kB / 290.7 MB, free: 1.977 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9054/0.9054, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001809/0.001809, allocations: 98.52 kB / 0.5953 GB, free: 27.96 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1368/0.1386, allocations: 86.99 MB / 0.6803 GB, free: 0.6172 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.4854/0.624, allocations: 167.4 MB / 0.8438 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.002405/0.6264, allocations: 1.55 MB / 0.8453 GB, free: 15.55 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000287/0.6268, allocations: 16.12 kB / 0.8453 GB, free: 15.54 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.000492/0.6273, allocations: 159.4 kB / 0.8454 GB, free: 15.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.001573/0.6289, allocations: 0.7019 MB / 0.8461 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.001334/0.6302, allocations: 0.6045 MB / 0.8467 GB, free: 14.89 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.0007269/0.631, allocations: 0.7171 MB / 0.8474 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003493/0.6313, allocations: 225.2 kB / 0.8476 GB, free: 14.38 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005285/0.6319, allocations: 349.5 kB / 0.848 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002541/0.6321, allocations: 221.3 kB / 0.8482 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 4.3e-05/0.6322, allocations: 23.19 kB / 0.8482 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001298/0.6335, allocations: 0.8703 MB / 0.849 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0001215/0.6336, allocations: 116.5 kB / 0.8492 GB, free: 13.64 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.0001612/0.6338, allocations: 175.5 kB / 0.8493 GB, free: 13.53 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0008738/0.6347, allocations: 0.728 MB / 0.85 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.066e-06/0.6347, allocations: 0 / 0.85 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of FrontEnd: time 8.82e-07/0.6347, allocations: 0 / 0.85 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 6.452e-06/0.6347, allocations: 0 / 0.85 GB, free: 13.15 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.0008904/0.6356, allocations: 0.6661 MB / 0.8507 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.651e-05/0.6356, allocations: 7.625 kB / 0.8507 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.001e-05/0.6357, allocations: 58.78 kB / 0.8507 GB, free: 12.5 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001066/0.6368, allocations: 155.1 kB / 0.8509 GB, free: 12.43 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000401/0.6372, allocations: 314.3 kB / 0.8512 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.6372, allocations: 15.06 kB / 0.8512 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.525e-05/0.6373, allocations: 27.62 kB / 0.8512 GB, free: 12.12 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004515/0.6377, allocations: 289 kB / 0.8515 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.6377, allocations: 0 / 0.8515 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.315e-05/0.6378, allocations: 11 kB / 0.8515 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.213e-06/0.6378, allocations: 5.344 kB / 0.8515 GB, free: 11.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003887/0.6382, allocations: 202.9 kB / 0.8517 GB, free: 11.83 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.001314/0.6395, allocations: 1.232 MB / 0.8529 GB, free: 10.71 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002607/0.6398, allocations: 147.8 kB / 0.8531 GB, free: 10.62 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001675/0.6399, allocations: 96.11 kB / 0.8532 GB, free: 10.57 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006003/0.6406, allocations: 303.2 kB / 0.8534 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.22e-05/0.6406, allocations: 37.55 kB / 0.8535 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=17): time 1.332e-06/0.6406, allocations: 4 kB / 0.8535 GB, free: 10.22 MB / 0.5762 GB Notification: Performance of matching and sorting (n=17): time 0.0007187/0.6413, allocations: 293.5 kB / 0.8538 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.596e-05/0.6414, allocations: 58.19 kB / 0.8538 GB, free: 10 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002874/0.6417, allocations: 317 kB / 0.8541 GB, free: 9.805 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 2.219e-05/0.6417, allocations: 29.7 kB / 0.8541 GB, free: 9.77 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.6418, allocations: 190.3 kB / 0.8543 GB, free: 9.598 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 5.134e-05/0.6419, allocations: 56.55 kB / 0.8544 GB, free: 9.551 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.817e-05/0.642, allocations: 49.2 kB / 0.8544 GB, free: 9.512 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001199/0.6421, allocations: 346.3 kB / 0.8548 GB, free: 9.172 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.6423, allocations: 68.61 kB / 0.8548 GB, free: 9.141 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002132/0.6425, allocations: 132.2 kB / 0.855 GB, free: 9.043 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003392/0.6428, allocations: 199.6 kB / 0.8551 GB, free: 8.914 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.6428, allocations: 3.938 kB / 0.8551 GB, free: 8.91 MB / 0.5762 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004527/0.6433, allocations: 256.3 kB / 0.8554 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.196e-05/0.6433, allocations: 5.656 kB / 0.8554 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.899e-06/0.6433, allocations: 2.094 kB / 0.8554 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.6433, allocations: 2.219 kB / 0.8554 GB, free: 8.77 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001929/0.6435, allocations: 43.78 kB / 0.8554 GB, free: 8.762 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.6436, allocations: 7.781 kB / 0.8554 GB, free: 8.758 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001874/0.6437, allocations: 33.42 kB / 0.8555 GB, free: 8.734 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.596e-05/0.6438, allocations: 11.75 kB / 0.8555 GB, free: 8.73 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001308/0.6439, allocations: 148.3 kB / 0.8556 GB, free: 8.594 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.135e-05/0.644, allocations: 30.66 kB / 0.8557 GB, free: 8.578 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004448/0.6444, allocations: 239.6 kB / 0.8559 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.126e-06/0.6444, allocations: 2.469 kB / 0.8559 GB, free: 8.438 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.6444, allocations: 3.984 kB / 0.8559 GB, free: 8.434 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.6445, allocations: 4 kB / 0.8559 GB, free: 8.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009431/0.6454, allocations: 0.706 MB / 0.8566 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.6454, allocations: 4.531 kB / 0.8566 GB, free: 7.84 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000162/0.6456, allocations: 31.17 kB / 0.8566 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.486e-06/0.6456, allocations: 2.594 kB / 0.8566 GB, free: 7.836 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.639e-05/0.6456, allocations: 7 kB / 0.8566 GB, free: 7.832 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.613e-06/0.6456, allocations: 14.17 kB / 0.8566 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.6456, allocations: 2.562 kB / 0.8567 GB, free: 7.82 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006/0.6462, allocations: 453.8 kB / 0.8571 GB, free: 7.484 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001078/0.6464, allocations: 119.5 kB / 0.8572 GB, free: 7.363 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.078e-05/0.6464, allocations: 8.75 kB / 0.8572 GB, free: 7.359 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001713/0.6466, allocations: 17.58 kB / 0.8572 GB, free: 7.348 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.529e-05/0.6466, allocations: 11.36 kB / 0.8572 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.878e-06/0.6467, allocations: 4.812 kB / 0.8572 GB, free: 7.344 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0001965/0.6469, allocations: 232.9 kB / 0.8575 GB, free: 7.191 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.31e-07/0.6469, allocations: 4.062 kB / 0.8575 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003545/0.6472, allocations: 82.48 kB / 0.8575 GB, free: 7.176 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 (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.001048/0.6483, allocations: 1.049 MB / 0.8586 GB, free: 6.277 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003978/0.6487, allocations: 182.8 kB / 0.8587 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.6487, allocations: 0 / 0.8587 GB, free: 6.199 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.6489, allocations: 90.84 kB / 0.8588 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008251/0.6497, allocations: 177.6 kB / 0.859 GB, free: 6.07 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003315/0.653, allocations: 3.024 MB / 0.862 GB, free: 3.812 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.6534, allocations: 0.7869 MB / 0.8627 GB, free: 3.066 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0002051/0.6536, allocations: 66.7 kB / 0.8628 GB, free: 3.031 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001285/0.6538, allocations: 92.59 kB / 0.8629 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of SimCode: time 2.4e-07/0.6538, allocations: 0 / 0.8629 GB, free: 2.957 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0366/0.6904, allocations: 8.946 MB / 0.8716 GB, free: 14.56 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.155/7.845, allocations: 12.81 kB / 0.8716 GB, free: 14.55 MB / 0.5919 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)