Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json 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/IBPSA 4.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009892/0.0009892, allocations: 179.8 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4742/0.4742, allocations: 90.81 MB / 104.5 MB, free: 9.789 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.261/1.261, allocations: 221.3 MB / 348.3 MB, free: 420 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00104/0.00104, allocations: 95.64 kB / 421.2 MB, free: 5.469 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.332e-05/3.345e-05, allocations: 4 kB / 0.4897 GB, free: 5.246 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3624/0.3625, allocations: 72.3 MB / 0.5603 GB, free: 40.41 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 3.863/4.225, allocations: 1.86 GB / 2.42 GB, free: 167.6 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002362/4.225, allocations: 79.95 kB / 2.42 GB, free: 167.5 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 0.8029/5.028, allocations: 246.9 MB / 2.661 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.132e-06/5.028, allocations: 0 / 2.661 GB, free: 156.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.66e-05/5.029, allocations: 7.203 kB / 2.661 GB, free: 156.3 MB / 0.6042 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.001383/5.03, allocations: 0.6503 MB / 2.662 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/5.03, allocations: 15.98 kB / 2.662 GB, free: 155.7 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001132/5.03, allocations: 62.55 kB / 2.662 GB, free: 155.6 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001371/5.031, allocations: 153.8 kB / 2.662 GB, free: 155.5 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005418/5.032, allocations: 318.3 kB / 2.662 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.965e-05/5.032, allocations: 16.56 kB / 2.662 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.892e-05/5.032, allocations: 24 kB / 2.662 GB, free: 155.1 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003733/5.032, allocations: 265.8 kB / 2.663 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.014e-05/5.032, allocations: 0.5469 kB / 2.663 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.277e-05/5.033, allocations: 12 kB / 2.663 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/5.033, allocations: 4 kB / 2.663 GB, free: 154.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002509/5.033, allocations: 168.8 kB / 2.663 GB, free: 154.6 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.001266/5.034, allocations: 1.231 MB / 2.664 GB, free: 153.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001675/5.034, allocations: 114.6 kB / 2.664 GB, free: 153.2 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001008/5.034, allocations: 72.83 kB / 2.664 GB, free: 153.1 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004165/5.035, allocations: 299.3 kB / 2.665 GB, free: 152.8 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.035e-05/5.035, allocations: 38.56 kB / 2.665 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 1.753e-06/5.035, allocations: 3.938 kB / 2.665 GB, free: 152.7 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0004843/5.035, allocations: 194.8 kB / 2.665 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.19e-05/5.035, allocations: 55.41 kB / 2.665 GB, free: 152.5 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002347/5.036, allocations: 280.8 kB / 2.665 GB, free: 152.2 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.036e-05/5.036, allocations: 33.69 kB / 2.665 GB, free: 152.1 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 8.048e-05/5.036, allocations: 184.1 kB / 2.665 GB, free: 152 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 3.789e-05/5.036, allocations: 62.7 kB / 2.665 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.496e-06/5.036, allocations: 4 kB / 2.665 GB, free: 151.9 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 7.056e-05/5.036, allocations: 342.8 kB / 2.666 GB, free: 151.6 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.157e-05/5.036, allocations: 47.98 kB / 2.666 GB, free: 151.5 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001147/5.036, allocations: 115.7 kB / 2.666 GB, free: 151.4 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/5.036, allocations: 65.17 kB / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.264e-06/5.036, allocations: 0 / 2.666 GB, free: 151.3 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002778/5.036, allocations: 213.9 kB / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.635e-05/5.036, allocations: 8 kB / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/5.037, allocations: 0 / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/5.037, allocations: 7.984 kB / 2.666 GB, free: 151.1 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001994/5.037, allocations: 54.53 kB / 2.666 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.967e-06/5.037, allocations: 12.05 kB / 2.666 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002493/5.037, allocations: 35.73 kB / 2.666 GB, free: 151 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.638e-05/5.037, allocations: 11.98 kB / 2.666 GB, free: 151 MB / 0.6042 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 () * 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 7.972e-05/5.037, allocations: 120.9 kB / 2.666 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.374e-05/5.037, allocations: 31.62 kB / 2.666 GB, free: 150.8 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003065/5.038, allocations: 189.6 kB / 2.667 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/5.038, allocations: 8 kB / 2.667 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/5.038, allocations: 3.953 kB / 2.667 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.296e-06/5.038, allocations: 0 / 2.667 GB, free: 150.6 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007546/5.038, allocations: 0.6597 MB / 2.667 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.727e-06/5.038, allocations: 4 kB / 2.667 GB, free: 149.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002033/5.039, allocations: 35.92 kB / 2.667 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/5.039, allocations: 4 kB / 2.667 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/5.039, allocations: 11.98 kB / 2.667 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/5.039, allocations: 0 / 2.667 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/5.039, allocations: 7.984 kB / 2.667 GB, free: 149.8 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004532/5.039, allocations: 474.8 kB / 2.668 GB, free: 149.3 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/5.039, allocations: 120.7 kB / 2.668 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.138e-05/5.039, allocations: 8 kB / 2.668 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001994/5.039, allocations: 24.05 kB / 2.668 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.58e-05/5.039, allocations: 11.98 kB / 2.668 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.123e-05/5.04, allocations: 11.38 kB / 2.668 GB, free: 149.1 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.000185/5.04, allocations: 234.1 kB / 2.668 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.6e-07/5.04, allocations: 4 kB / 2.668 GB, free: 148.9 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0007345/5.04, allocations: 175.8 kB / 2.668 GB, free: 148.7 MB / 0.6042 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 () * 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.002434/5.043, allocations: 2.406 MB / 2.671 GB, free: 146.4 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003192/5.043, allocations: 143.8 kB / 2.671 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 5.43e-06/5.043, allocations: 4 kB / 2.671 GB, free: 146.2 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001109/5.043, allocations: 79.84 kB / 2.671 GB, free: 146.1 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008312/5.044, allocations: 159.2 kB / 2.671 GB, free: 146 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001012/5.045, allocations: 0.5302 MB / 2.671 GB, free: 145.4 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002473/5.045, allocations: 0.7883 MB / 2.672 GB, free: 144.6 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002619/5.046, allocations: 66.86 kB / 2.672 GB, free: 144.5 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001301/5.046, allocations: 91.41 kB / 2.672 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of SimCode: time 3.91e-07/5.046, allocations: 7.172 kB / 2.672 GB, free: 144.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0475/5.093, allocations: 27.33 MB / 2.699 GB, free: 117.2 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001484/5.094, allocations: 181.1 kB / 2.699 GB, free: 117 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.636/7.729, allocations: 0 / 2.699 GB, free: 117 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)