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.655/2.655, allocations: 287.3 MB / 302.3 MB, free: 8.297 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.00164/0.00164, allocations: 189.8 kB / 370.8 MB, free: 10.86 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.285/2.285, allocations: 205.4 MB / 0.6295 GB, free: 10.63 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.001179/0.001179, allocations: 97.94 kB / 0.7428 GB, free: 6.633 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004785/0.0004785, allocations: 15.91 kB / 0.8657 GB, free: 140.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2311/0.2317, allocations: 115.3 MB / 0.9783 GB, free: 28.3 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Sensors.Examples.Velocity): time 0.9583/1.19, allocations: 140.2 MB / 1.115 GB, free: 1.012 MB / 0.6823 GB Notification: Performance of NFInst.instExpressions: time 0.004118/1.194, allocations: 1.583 MB / 1.117 GB, free: 0.8906 MB / 0.6823 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005695/1.195, allocations: 8.812 kB / 1.117 GB, free: 0.8867 MB / 0.6823 GB Notification: Performance of NFTyping.typeComponents: time 0.001023/1.196, allocations: 180.4 kB / 1.117 GB, free: 0.8477 MB / 0.6823 GB Notification: Performance of NFTyping.typeBindings: time 0.002681/1.199, allocations: 0.5155 MB / 1.117 GB, free: 0.8242 MB / 0.6823 GB Notification: Performance of NFTyping.typeClassSections: time 0.002593/1.201, allocations: 497.7 kB / 1.118 GB, free: 0.8008 MB / 0.6823 GB Notification: Performance of NFFlatten.flatten: time 0.001421/1.203, allocations: 442.3 kB / 1.118 GB, free: 0.7812 MB / 0.6823 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005543/1.203, allocations: 189.5 kB / 1.118 GB, free: 0.7578 MB / 0.6823 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001405/1.205, allocations: 347.7 kB / 1.119 GB, free: 0.7148 MB / 0.6823 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003863/1.205, allocations: 153.8 kB / 1.119 GB, free: 0.6836 MB / 0.6823 GB Notification: Performance of NFPackage.collectConstants: time 5.393e-05/1.205, allocations: 18.38 kB / 1.119 GB, free: 0.6797 MB / 0.6823 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/1.207, allocations: 426 kB / 1.119 GB, free: 0.6562 MB / 0.6823 GB Notification: Performance of NFScalarize.scalarize: time 0.0001876/1.207, allocations: 92.28 kB / 1.119 GB, free: 0.6484 MB / 0.6823 GB Notification: Performance of NFVerifyModel.verify: time 0.0002063/1.208, allocations: 87.17 kB / 1.12 GB, free: 16.61 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.001114/1.209, allocations: 403.2 kB / 1.12 GB, free: 16.57 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 2.986e-06/1.209, allocations: 1.859 kB / 1.12 GB, free: 16.57 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.475e-06/1.209, allocations: 0 / 1.12 GB, free: 16.57 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.354e-06/1.209, allocations: 0 / 1.12 GB, free: 16.57 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.001258/1.21, allocations: 0.6019 MB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.801e-05/1.21, allocations: 10.09 kB / 1.121 GB, free: 16.09 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.409e-05/1.21, allocations: 58.92 kB / 1.121 GB, free: 16.05 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001746/1.212, allocations: 164.5 kB / 1.121 GB, free: 16.03 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007003/1.213, allocations: 305.4 kB / 1.121 GB, free: 15.8 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.102e-05/1.213, allocations: 25.2 kB / 1.121 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/1.213, allocations: 25.03 kB / 1.121 GB, free: 15.79 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008087/1.214, allocations: 281 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.636e-05/1.214, allocations: 1.969 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.346e-05/1.214, allocations: 9.281 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.087e-05/1.214, allocations: 9.219 kB / 1.121 GB, free: 15.71 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007009/1.214, allocations: 215.5 kB / 1.122 GB, free: 15.7 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.002212/1.217, allocations: 1.225 MB / 1.123 GB, free: 14.85 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004571/1.217, allocations: 149.9 kB / 1.123 GB, free: 14.82 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006527/1.218, allocations: 140.8 kB / 1.123 GB, free: 14.72 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.118e-05/1.218, allocations: 36.62 kB / 1.123 GB, free: 14.68 MB / 0.698 GB Notification: Performance of pre-optimization done (n=17): time 2.895e-06/1.218, allocations: 0 / 1.123 GB, free: 14.68 MB / 0.698 GB Notification: Performance of matching and sorting (n=17): time 0.00132/1.219, allocations: 316 kB / 1.123 GB, free: 14.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.411e-05/1.219, allocations: 54.41 kB / 1.123 GB, free: 14.56 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/1.22, allocations: 318.7 kB / 1.124 GB, free: 14.45 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.706e-05/1.22, allocations: 31.84 kB / 1.124 GB, free: 14.42 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001743/1.22, allocations: 182 kB / 1.124 GB, free: 14.31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 7.333e-05/1.22, allocations: 57.75 kB / 1.124 GB, free: 14.27 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.534e-05/1.22, allocations: 4.156 kB / 1.124 GB, free: 14.27 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001724/1.22, allocations: 344.5 kB / 1.124 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002852/1.221, allocations: 80.5 kB / 1.124 GB, free: 13.95 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003486/1.221, allocations: 131.5 kB / 1.125 GB, free: 13.9 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003309/1.221, allocations: 90.45 kB / 1.125 GB, free: 13.89 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.827e-06/1.221, allocations: 2 kB / 1.125 GB, free: 13.89 MB / 0.698 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0008364/1.222, allocations: 267.7 kB / 1.125 GB, free: 13.83 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 2.116e-05/1.222, allocations: 5.625 kB / 1.125 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.488e-06/1.222, allocations: 3.031 kB / 1.125 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.03e-05/1.222, allocations: 2.344 kB / 1.125 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000382/1.223, allocations: 45.91 kB / 1.125 GB, free: 13.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/1.223, allocations: 7.031 kB / 1.125 GB, free: 13.82 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004113/1.223, allocations: 43.25 kB / 1.125 GB, free: 13.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.158e-05/1.223, allocations: 10.28 kB / 1.125 GB, free: 13.8 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.0002568/1.223, allocations: 155.5 kB / 1.125 GB, free: 13.68 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/1.224, allocations: 30.5 kB / 1.125 GB, free: 13.67 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000779/1.224, allocations: 241.1 kB / 1.125 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.131e-06/1.224, allocations: 2.5 kB / 1.125 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/1.224, allocations: 0 / 1.125 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.291e-06/1.224, allocations: 4.328 kB / 1.125 GB, free: 13.62 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001734/1.226, allocations: 0.7132 MB / 1.126 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.961e-06/1.226, allocations: 2.344 kB / 1.126 GB, free: 13.24 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003301/1.226, allocations: 43.08 kB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.907e-06/1.226, allocations: 2.844 kB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.53e-05/1.227, allocations: 4.219 kB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/1.227, allocations: 5.344 kB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.506e-06/1.227, allocations: 6.703 kB / 1.126 GB, free: 13.23 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00116/1.228, allocations: 0.5371 MB / 1.127 GB, free: 12.9 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002179/1.228, allocations: 128.8 kB / 1.127 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/1.228, allocations: 9.547 kB / 1.127 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003341/1.228, allocations: 18.05 kB / 1.127 GB, free: 12.78 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.591e-05/1.228, allocations: 15.69 kB / 1.127 GB, free: 12.77 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.337e-05/1.229, allocations: 9.562 kB / 1.127 GB, free: 12.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0003974/1.229, allocations: 231.4 kB / 1.127 GB, free: 12.69 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.21e-07/1.229, allocations: 1.859 kB / 1.127 GB, free: 12.69 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0006827/1.23, allocations: 81.59 kB / 1.127 GB, free: 12.68 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.002359/1.232, allocations: 1.632 MB / 1.129 GB, free: 11.34 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0007571/1.233, allocations: 183.2 kB / 1.129 GB, free: 11.33 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.795e-06/1.233, allocations: 4.188 kB / 1.129 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0003626/1.233, allocations: 96.69 kB / 1.129 GB, free: 11.32 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001448/1.235, allocations: 158.9 kB / 1.129 GB, free: 11.3 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004698/1.239, allocations: 2.577 MB / 1.132 GB, free: 9.781 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004799/1.24, allocations: 0.795 MB / 1.132 GB, free: 9.078 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.0004708/1.24, allocations: 72.39 kB / 1.133 GB, free: 9.055 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001964/1.241, allocations: 93.5 kB / 1.133 GB, free: 9.047 MB / 0.698 GB Notification: Performance of SimCode: time 9.41e-07/1.241, allocations: 3.938 kB / 1.133 GB, free: 9.043 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04967/1.29, allocations: 8.371 MB / 1.141 GB, free: 6.023 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003631/1.291, allocations: 214.6 kB / 1.141 GB, free: 5.781 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.721/4.012, allocations: 1.594 kB / 1.141 GB, free: 5.781 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)