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 2.796/2.796, allocations: 287.5 MB / 302.4 MB, free: 8.395 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.00141/0.00141, allocations: 182.4 kB / 371 MB, free: 10.87 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.226/2.226, allocations: 205.4 MB / 0.6297 GB, free: 10.61 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.0008775/0.0008776, allocations: 92.19 kB / 0.743 GB, free: 6.605 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004966/0.000497, allocations: 16.52 kB / 0.8659 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2176/0.2181, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9106/1.129, allocations: 152.1 MB / 1.127 GB, free: 0.8789 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.003663/1.133, allocations: 1.491 MB / 1.128 GB, free: 0.7266 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005689/1.133, allocations: 14.09 kB / 1.128 GB, free: 0.7188 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.0005879/1.134, allocations: 106.6 kB / 1.129 GB, free: 0.6758 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.00236/1.136, allocations: 0.5116 MB / 1.129 GB, free: 0.5469 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002111/1.138, allocations: 445.2 kB / 1.129 GB, free: 0.5 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001482/1.14, allocations: 0.8492 MB / 1.13 GB, free: 380 kB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004548/1.14, allocations: 175.4 kB / 1.13 GB, free: 356 kB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009743/1.141, allocations: 311.7 kB / 1.131 GB, free: 292 kB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003864/1.142, allocations: 223 kB / 1.131 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.932e-05/1.142, allocations: 13.91 kB / 1.131 GB, free: 244 kB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001896/1.144, allocations: 465.5 kB / 1.131 GB, free: 188 kB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0002054/1.144, allocations: 99.67 kB / 1.132 GB, free: 176 kB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0001821/1.144, allocations: 82.61 kB / 1.132 GB, free: 16.13 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001072/1.145, allocations: 448.9 kB / 1.132 GB, free: 16.09 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.332e-06/1.145, allocations: 1.031 kB / 1.132 GB, free: 16.09 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.214e-06/1.145, allocations: 0 / 1.132 GB, free: 16.09 MB / 0.698 GB Notification: Performance of Transformations before backend: time 6.793e-06/1.145, allocations: 0 / 1.132 GB, free: 16.09 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.001306/1.147, allocations: 0.6163 MB / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/1.147, allocations: 6.75 kB / 1.133 GB, free: 15.6 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.661e-05/1.147, allocations: 61.06 kB / 1.133 GB, free: 15.56 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001693/1.148, allocations: 165.8 kB / 1.133 GB, free: 15.54 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006909/1.149, allocations: 306.2 kB / 1.133 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.729e-05/1.149, allocations: 19 kB / 1.133 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.955e-05/1.149, allocations: 24.88 kB / 1.133 GB, free: 15.3 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000734/1.15, allocations: 279.3 kB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.428e-05/1.15, allocations: 4 kB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.368e-05/1.15, allocations: 9.062 kB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.443e-05/1.15, allocations: 6.031 kB / 1.133 GB, free: 15.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/1.151, allocations: 216.4 kB / 1.134 GB, free: 15.21 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.002178/1.153, allocations: 1.229 MB / 1.135 GB, free: 14.36 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004241/1.153, allocations: 160 kB / 1.135 GB, free: 14.32 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/1.154, allocations: 103.3 kB / 1.135 GB, free: 14.31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009186/1.155, allocations: 313.7 kB / 1.135 GB, free: 14.03 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.565e-05/1.155, allocations: 36.09 kB / 1.135 GB, free: 13.99 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 3.276e-06/1.155, allocations: 1.969 kB / 1.135 GB, free: 13.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.001261/1.156, allocations: 308.1 kB / 1.136 GB, free: 13.93 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.749e-05/1.156, allocations: 59.66 kB / 1.136 GB, free: 13.87 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004667/1.157, allocations: 317.4 kB / 1.136 GB, free: 13.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.83e-05/1.157, allocations: 33.02 kB / 1.136 GB, free: 13.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001692/1.157, allocations: 181.4 kB / 1.136 GB, free: 13.62 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.554e-05/1.157, allocations: 56.72 kB / 1.136 GB, free: 13.58 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/1.157, allocations: 6.125 kB / 1.136 GB, free: 13.58 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.157, allocations: 343.9 kB / 1.137 GB, free: 13.27 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000276/1.157, allocations: 76.64 kB / 1.137 GB, free: 13.26 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003448/1.158, allocations: 138.6 kB / 1.137 GB, free: 13.21 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003032/1.158, allocations: 86.67 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.26e-06/1.158, allocations: 2.062 kB / 1.137 GB, free: 13.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0007708/1.159, allocations: 261.9 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/1.159, allocations: 10.84 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/1.159, allocations: 3 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.402e-05/1.159, allocations: 0 / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00042/1.159, allocations: 47.83 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.928e-06/1.159, allocations: 5.203 kB / 1.137 GB, free: 13.14 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004127/1.16, allocations: 38.09 kB / 1.137 GB, free: 13.12 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.16e-05/1.16, allocations: 13.44 kB / 1.137 GB, free: 13.12 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.0002362/1.16, allocations: 159.1 kB / 1.138 GB, free: 13 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.245e-05/1.16, allocations: 30.97 kB / 1.138 GB, free: 12.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007402/1.161, allocations: 239.1 kB / 1.138 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.312e-06/1.161, allocations: 3.406 kB / 1.138 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/1.161, allocations: 3.938 kB / 1.138 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.849e-06/1.161, allocations: 0 / 1.138 GB, free: 12.93 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001574/1.163, allocations: 0.7146 MB / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.739e-06/1.163, allocations: 0 / 1.138 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003145/1.163, allocations: 42 kB / 1.139 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.258e-06/1.163, allocations: 6.438 kB / 1.139 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.233e-05/1.163, allocations: 6.375 kB / 1.139 GB, free: 12.55 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.384e-05/1.163, allocations: 11.27 kB / 1.139 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.068e-06/1.163, allocations: 3 kB / 1.139 GB, free: 12.54 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001106/1.164, allocations: 470.1 kB / 1.139 GB, free: 12.32 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002124/1.164, allocations: 123.2 kB / 1.139 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.645e-05/1.165, allocations: 2.906 kB / 1.139 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003179/1.165, allocations: 17.83 kB / 1.139 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.626e-05/1.165, allocations: 18.28 kB / 1.139 GB, free: 12.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.112e-05/1.165, allocations: 13.88 kB / 1.139 GB, free: 12.2 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003304/1.165, allocations: 227 kB / 1.139 GB, free: 12.12 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.61e-07/1.165, allocations: 0 / 1.139 GB, free: 12.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0005999/1.166, allocations: 91.19 kB / 1.139 GB, free: 12.11 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.001907/1.168, allocations: 1.051 MB / 1.14 GB, free: 11.36 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000775/1.169, allocations: 189.6 kB / 1.141 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/1.169, allocations: 1.75 kB / 1.141 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.000358/1.169, allocations: 100.3 kB / 1.141 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001693/1.171, allocations: 167.3 kB / 1.141 GB, free: 11.31 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004665/1.175, allocations: 1.867 MB / 1.143 GB, free: 10.52 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005022/1.176, allocations: 0.7804 MB / 1.144 GB, free: 9.82 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004756/1.177, allocations: 66.25 kB / 1.144 GB, free: 9.801 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002076/1.177, allocations: 92.94 kB / 1.144 GB, free: 9.793 MB / 0.698 GB Notification: Performance of SimCode: time 1.172e-06/1.177, allocations: 0 / 1.144 GB, free: 9.793 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0515/1.228, allocations: 8.393 MB / 1.152 GB, free: 6.246 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003512/1.229, allocations: 220 kB / 1.152 GB, free: 6.004 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.921/4.15, allocations: 1.031 kB / 1.152 GB, free: 6.004 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)