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/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00145/0.00145, allocations: 101.9 kB / 20.48 MB, free: 1.383 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001523/0.001523, allocations: 206.7 kB / 23.77 MB, free: 4.559 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.403/1.403, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.9591/0.9591, allocations: 150 MB / 464 MB, free: 10.23 MB / 366.1 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.Velocity,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IBPSA requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002117/0.002117, allocations: 66 kB / 0.642 GB, free: 9.957 MB / 478.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2015/0.2036, allocations: 89.17 MB / 0.7291 GB, free: 0.8516 MB / 0.545 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.559/0.7626, allocations: 147.6 MB / 0.8731 GB, free: 1.461 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.003089/0.7657, allocations: 1.481 MB / 0.8746 GB, free: 15.97 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003486/0.766, allocations: 19.72 kB / 0.8746 GB, free: 15.96 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.0005623/0.7666, allocations: 162.8 kB / 0.8748 GB, free: 15.8 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.001957/0.7685, allocations: 0.7 MB / 0.8755 GB, free: 15.09 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.001656/0.7702, allocations: 0.6316 MB / 0.8761 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0009331/0.7711, allocations: 0.7254 MB / 0.8768 GB, free: 13.74 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003752/0.7715, allocations: 193.3 kB / 0.877 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0012/0.7727, allocations: 0.5138 MB / 0.8775 GB, free: 13.03 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003354/0.773, allocations: 239.1 kB / 0.8777 GB, free: 12.8 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 4.582e-05/0.7731, allocations: 27.94 kB / 0.8777 GB, free: 12.77 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001343/0.7744, allocations: 0.7129 MB / 0.8784 GB, free: 12.05 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0001558/0.7746, allocations: 111.6 kB / 0.8785 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.0001903/0.7748, allocations: 139.3 kB / 0.8787 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.001175/0.7759, allocations: 0.7105 MB / 0.8793 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.776, allocations: 0 / 0.8793 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.863e-06/0.776, allocations: 0 / 0.8793 GB, free: 11.1 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 8.195e-06/0.776, allocations: 0 / 0.8793 GB, free: 11.1 MB / 0.6544 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.001118/0.7771, allocations: 0.6018 MB / 0.8799 GB, free: 10.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.7771, allocations: 12.03 kB / 0.8799 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.701e-05/0.7772, allocations: 4.5 kB / 0.8799 GB, free: 10.45 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.353e-05/0.7772, allocations: 58.53 kB / 0.88 GB, free: 10.38 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001186/0.7784, allocations: 155.6 kB / 0.8802 GB, free: 10.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006187/0.779, allocations: 281.6 kB / 0.8804 GB, free: 9.93 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.662e-05/0.7791, allocations: 20.5 kB / 0.8804 GB, free: 9.91 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.949e-05/0.7791, allocations: 20 kB / 0.8805 GB, free: 9.891 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005426/0.7797, allocations: 285 kB / 0.8807 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.319e-05/0.7797, allocations: 0 / 0.8807 GB, free: 9.59 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.514e-05/0.7797, allocations: 8 kB / 0.8807 GB, free: 9.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.346e-06/0.7797, allocations: 4 kB / 0.8807 GB, free: 9.578 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004376/0.7801, allocations: 204.9 kB / 0.8809 GB, free: 9.379 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001442/0.7816, allocations: 0.9947 MB / 0.8819 GB, free: 8.32 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002998/0.7819, allocations: 137.7 kB / 0.882 GB, free: 8.18 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002526/0.7821, allocations: 97.61 kB / 0.8821 GB, free: 8.082 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004976/0.7826, allocations: 79.83 kB / 0.8822 GB, free: 8.004 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.548e-05/0.7827, allocations: 35.41 kB / 0.8822 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.7827, allocations: 0 / 0.8822 GB, free: 7.961 MB / 0.6544 GB Notification: Performance of matching and sorting (n=17): time 0.0008269/0.7835, allocations: 293.4 kB / 0.8825 GB, free: 7.668 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.048e-05/0.7835, allocations: 59.34 kB / 0.8826 GB, free: 7.598 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003562/0.7839, allocations: 316.5 kB / 0.8829 GB, free: 7.285 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.806e-05/0.7839, allocations: 29.7 kB / 0.8829 GB, free: 7.25 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001598/0.7841, allocations: 184.2 kB / 0.8831 GB, free: 7.066 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 5.96e-05/0.7842, allocations: 63.47 kB / 0.8831 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.68e-05/0.7842, allocations: 53.66 kB / 0.8832 GB, free: 6.945 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.00017/0.7844, allocations: 350.7 kB / 0.8835 GB, free: 6.594 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001723/0.7846, allocations: 63.95 kB / 0.8836 GB, free: 6.531 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002689/0.7849, allocations: 213.2 kB / 0.8838 GB, free: 6.289 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003647/0.7852, allocations: 198.3 kB / 0.884 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.655e-06/0.7852, allocations: 0 / 0.884 GB, free: 6.078 MB / 0.6544 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004814/0.7857, allocations: 249.8 kB / 0.8842 GB, free: 5.828 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.7857, allocations: 13.97 kB / 0.8842 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.71e-06/0.7857, allocations: 0 / 0.8842 GB, free: 5.816 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.825e-05/0.7858, allocations: 4 kB / 0.8842 GB, free: 5.812 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002062/0.786, allocations: 45.34 kB / 0.8843 GB, free: 5.77 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.18e-05/0.786, allocations: 4 kB / 0.8843 GB, free: 5.766 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001925/0.7862, allocations: 27.86 kB / 0.8843 GB, free: 5.738 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.113e-05/0.7862, allocations: 19.94 kB / 0.8843 GB, free: 5.719 MB / 0.6544 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.0001743/0.7864, allocations: 149.8 kB / 0.8845 GB, free: 5.562 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.964e-05/0.7864, allocations: 31.81 kB / 0.8845 GB, free: 5.531 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005086/0.7869, allocations: 233.1 kB / 0.8847 GB, free: 5.301 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.7869, allocations: 4 kB / 0.8847 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.7869, allocations: 0 / 0.8847 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.256e-06/0.787, allocations: 0 / 0.8847 GB, free: 5.297 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.788, allocations: 0.6581 MB / 0.8854 GB, free: 4.57 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.345e-06/0.788, allocations: 4 kB / 0.8854 GB, free: 4.566 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001726/0.7882, allocations: 35.97 kB / 0.8854 GB, free: 4.531 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.43e-06/0.7882, allocations: 3.938 kB / 0.8854 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.7882, allocations: 4 kB / 0.8854 GB, free: 4.523 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/0.7882, allocations: 8.219 kB / 0.8854 GB, free: 4.516 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.7882, allocations: 3.938 kB / 0.8854 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006827/0.7889, allocations: 459.6 kB / 0.8859 GB, free: 4.027 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.789, allocations: 51.7 kB / 0.8859 GB, free: 3.977 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.072e-05/0.7891, allocations: 11.98 kB / 0.8859 GB, free: 3.965 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001661/0.7892, allocations: 8 kB / 0.8859 GB, free: 3.957 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.128e-05/0.7893, allocations: 15.97 kB / 0.886 GB, free: 3.941 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.301e-05/0.7893, allocations: 12.06 kB / 0.886 GB, free: 3.93 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.0002362/0.7895, allocations: 227 kB / 0.8862 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7895, allocations: 0 / 0.8862 GB, free: 3.707 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003908/0.7899, allocations: 83.94 kB / 0.8863 GB, free: 3.625 MB / 0.6544 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.001204/0.7911, allocations: 1.046 MB / 0.8873 GB, free: 2.527 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004382/0.7916, allocations: 170.4 kB / 0.8874 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.7916, allocations: 0 / 0.8874 GB, free: 2.363 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.0001965/0.7918, allocations: 91.83 kB / 0.8875 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008572/0.7926, allocations: 165.3 kB / 0.8877 GB, free: 2.129 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003949/0.7966, allocations: 3.012 MB / 0.8906 GB, free: 14.96 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001864/0.7967, allocations: 175.6 kB / 0.8908 GB, free: 14.77 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.000213/0.797, allocations: 64.17 kB / 0.8909 GB, free: 14.71 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001522/0.7971, allocations: 91.41 kB / 0.891 GB, free: 14.62 MB / 0.67 GB Notification: Performance of SimCode: time 6.12e-07/0.7971, allocations: 0 / 0.891 GB, free: 14.62 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03424/0.8313, allocations: 9.822 MB / 0.9005 GB, free: 5.137 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.45, allocations: 5.312 kB / 0.9005 GB, free: 5.133 MB / 0.67 GB " [Timeout remaining time 647] (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/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_Velocity.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 16.214378210017458] Failed to read output from testmodel.py, exit status != 0: 12.620411365060136 12.643897168 11.863357747 Calling exit ...