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.001195/0.001195, allocations: 181 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5029/0.5029, allocations: 91.98 MB / 108.5 MB, free: 13.09 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.431/1.431, allocations: 223.1 MB / 354.3 MB, free: 12.29 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008874/0.0008874, allocations: 91.94 kB / 427.4 MB, free: 3.98 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000349/0.0003492, allocations: 8 kB / 0.4983 GB, free: 42.26 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1268/0.1272, allocations: 72.31 MB / 0.5689 GB, free: 1.891 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.927/5.055, allocations: 1.86 GB / 2.429 GB, free: 24.05 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003885/5.055, allocations: 91.95 kB / 2.429 GB, free: 23.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 1.011/6.066, allocations: 247.1 MB / 2.67 GB, free: 19.54 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.613e-06/6.066, allocations: 4 kB / 2.67 GB, free: 19.53 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.303e-05/6.066, allocations: 4 kB / 2.67 GB, free: 19.53 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.001703/6.068, allocations: 0.6973 MB / 2.671 GB, free: 18.78 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.963e-05/6.068, allocations: 12.03 kB / 2.671 GB, free: 18.77 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.747e-05/6.068, allocations: 54.55 kB / 2.671 GB, free: 18.71 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001165/6.069, allocations: 152.3 kB / 2.671 GB, free: 18.56 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005717/6.07, allocations: 326.7 kB / 2.671 GB, free: 18.2 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.663e-05/6.07, allocations: 20.56 kB / 2.671 GB, free: 18.18 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.848e-05/6.07, allocations: 24 kB / 2.671 GB, free: 18.15 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005332/6.071, allocations: 277.9 kB / 2.672 GB, free: 17.86 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/6.071, allocations: 3.938 kB / 2.672 GB, free: 17.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.837e-05/6.071, allocations: 12 kB / 2.672 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.097e-05/6.071, allocations: 4 kB / 2.672 GB, free: 17.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003989/6.071, allocations: 204.9 kB / 2.672 GB, free: 17.64 MB / 0.6042 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.001454/6.072, allocations: 1.23 MB / 2.673 GB, free: 16.3 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/6.073, allocations: 134.5 kB / 2.673 GB, free: 16.16 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005197/6.073, allocations: 299.3 kB / 2.673 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.701e-05/6.073, allocations: 34.56 kB / 2.674 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=17): time 3.416e-06/6.073, allocations: 0 / 2.674 GB, free: 15.77 MB / 0.6042 GB Notification: Performance of matching and sorting (n=17): time 0.0007775/6.074, allocations: 285.4 kB / 2.674 GB, free: 15.49 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.206e-05/6.074, allocations: 63.25 kB / 2.674 GB, free: 15.41 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002905/6.074, allocations: 283.7 kB / 2.674 GB, free: 15.13 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 2.637e-05/6.075, allocations: 29.7 kB / 2.674 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001233/6.075, allocations: 188.1 kB / 2.674 GB, free: 14.91 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 4.779e-05/6.075, allocations: 63.09 kB / 2.674 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.538e-06/6.075, allocations: 4 kB / 2.674 GB, free: 14.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001147/6.075, allocations: 338.8 kB / 2.675 GB, free: 14.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001523/6.075, allocations: 67.95 kB / 2.675 GB, free: 14.43 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001959/6.075, allocations: 132.8 kB / 2.675 GB, free: 14.28 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000171/6.075, allocations: 94.08 kB / 2.675 GB, free: 14.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.446e-06/6.075, allocations: 3.953 kB / 2.675 GB, free: 14.19 MB / 0.6042 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004366/6.076, allocations: 253.1 kB / 2.675 GB, free: 13.94 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.525e-05/6.076, allocations: 9.5 kB / 2.675 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/6.076, allocations: 0 / 2.675 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.929e-05/6.076, allocations: 4 kB / 2.675 GB, free: 13.93 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002324/6.076, allocations: 47.91 kB / 2.675 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.22e-05/6.076, allocations: 4 kB / 2.675 GB, free: 13.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002377/6.076, allocations: 39.67 kB / 2.675 GB, free: 13.84 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.088e-05/6.076, allocations: 19.98 kB / 2.675 GB, free: 13.82 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 () * 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.0001556/6.077, allocations: 149.8 kB / 2.675 GB, free: 13.66 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.168e-05/6.077, allocations: 31.67 kB / 2.676 GB, free: 13.63 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004794/6.077, allocations: 228.6 kB / 2.676 GB, free: 13.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-06/6.077, allocations: 4 kB / 2.676 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.163e-06/6.077, allocations: 0 / 2.676 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.492e-06/6.077, allocations: 3.984 kB / 2.676 GB, free: 13.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009868/6.078, allocations: 0.6913 MB / 2.676 GB, free: 12.62 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.959e-06/6.078, allocations: 7.938 kB / 2.676 GB, free: 12.61 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001845/6.078, allocations: 40.2 kB / 2.676 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/6.078, allocations: 4 kB / 2.676 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.83e-05/6.078, allocations: 4 kB / 2.676 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.324e-06/6.078, allocations: 0 / 2.676 GB, free: 12.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.049e-06/6.078, allocations: 7.938 kB / 2.676 GB, free: 12.56 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000706/6.079, allocations: 0.514 MB / 2.677 GB, free: 11.96 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001447/6.079, allocations: 128.6 kB / 2.677 GB, free: 11.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.463e-05/6.079, allocations: 12.09 kB / 2.677 GB, free: 11.81 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/6.08, allocations: 23.92 kB / 2.677 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.336e-05/6.08, allocations: 15.94 kB / 2.677 GB, free: 11.77 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.273e-05/6.08, allocations: 8 kB / 2.677 GB, free: 11.76 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0002744/6.08, allocations: 231 kB / 2.677 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.7e-07/6.08, allocations: 4 kB / 2.677 GB, free: 11.54 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0009127/6.081, allocations: 168 kB / 2.678 GB, free: 11.37 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 () * 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.002824/6.084, allocations: 2.472 MB / 2.68 GB, free: 8.828 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0004817/6.084, allocations: 181.2 kB / 2.68 GB, free: 8.652 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/6.084, allocations: 4.375 kB / 2.68 GB, free: 8.648 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001818/6.084, allocations: 88.45 kB / 2.68 GB, free: 8.562 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007974/6.085, allocations: 158.8 kB / 2.68 GB, free: 8.406 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002851/6.088, allocations: 2.572 MB / 2.683 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003943/6.089, allocations: 0.7914 MB / 2.684 GB, free: 4.922 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.0002686/6.089, allocations: 58.94 kB / 2.684 GB, free: 4.863 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001394/6.089, allocations: 91.41 kB / 2.684 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of SimCode: time 4.61e-07/6.089, allocations: 0 / 2.684 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.569/6.658, allocations: 24.45 MB / 2.708 GB, free: 143.6 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002455/6.658, allocations: 210 kB / 2.708 GB, free: 143.4 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.082/9.74, allocations: 0 / 2.708 GB, free: 143.4 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)