Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001376/0.001376, allocations: 109.1 kB / 16.45 MB, free: 6.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001457/0.001457, allocations: 192.5 kB / 19.41 MB, free: 3.539 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.341/1.341, allocations: 225.6 MB / 247.8 MB, free: 13.94 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002375/0.002375, allocations: 289.8 kB / 303 MB, free: 9.512 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.177/1.177, allocations: 180.9 MB / 0.5261 GB, free: 14.7 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.Velocity,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002655/0.002655, allocations: 103.2 kB / 0.7248 GB, free: 39.93 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1647/0.1673, allocations: 94.16 MB / 0.8167 GB, free: 5.465 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1939/0.3612, allocations: 168 MB / 0.9807 GB, free: 12.86 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002963/0.3642, allocations: 1.562 MB / 0.9823 GB, free: 11.3 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004143/0.3646, allocations: 11.94 kB / 0.9823 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005571/0.3652, allocations: 146.9 kB / 0.9824 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001901/0.3671, allocations: 0.7467 MB / 0.9832 GB, free: 10.39 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0017/0.3688, allocations: 0.6165 MB / 0.9838 GB, free: 9.777 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001085/0.3698, allocations: 0.7177 MB / 0.9845 GB, free: 9.055 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004688/0.3703, allocations: 201.1 kB / 0.9846 GB, free: 8.859 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008357/0.3712, allocations: 354.7 kB / 0.985 GB, free: 8.512 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003294/0.3715, allocations: 239 kB / 0.9852 GB, free: 8.277 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.056e-05/0.3715, allocations: 24 kB / 0.9852 GB, free: 8.254 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001602/0.3731, allocations: 0.9312 MB / 0.9861 GB, free: 7.32 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.000139/0.3733, allocations: 107.7 kB / 0.9863 GB, free: 7.215 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001926/0.3735, allocations: 171.1 kB / 0.9864 GB, free: 7.047 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001124/0.3746, allocations: 0.7359 MB / 0.9871 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3746, allocations: 0 / 0.9871 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.154e-06/0.3746, allocations: 0 / 0.9871 GB, free: 6.309 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.494e-06/0.3746, allocations: 0 / 0.9871 GB, free: 6.309 MB / 0.7325 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.001099/0.3757, allocations: 0.6772 MB / 0.9878 GB, free: 5.582 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.825e-05/0.3757, allocations: 8.031 kB / 0.9878 GB, free: 5.574 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.661e-05/0.3758, allocations: 54.55 kB / 0.9879 GB, free: 5.512 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001106/0.3769, allocations: 159.6 kB / 0.988 GB, free: 5.355 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005668/0.3775, allocations: 334.8 kB / 0.9883 GB, free: 4.984 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.38e-05/0.3775, allocations: 16.5 kB / 0.9883 GB, free: 4.969 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.055e-05/0.3776, allocations: 24 kB / 0.9884 GB, free: 4.945 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005005/0.3781, allocations: 281.8 kB / 0.9886 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.3781, allocations: 4 kB / 0.9886 GB, free: 4.645 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.21e-05/0.3781, allocations: 8 kB / 0.9886 GB, free: 4.637 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.004e-05/0.3781, allocations: 8 kB / 0.9887 GB, free: 4.629 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004175/0.3785, allocations: 200.9 kB / 0.9888 GB, free: 4.434 MB / 0.7325 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.001514/0.38, allocations: 1.227 MB / 0.99 GB, free: 3.102 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002861/0.3803, allocations: 145.1 kB / 0.9902 GB, free: 2.953 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001766/0.3805, allocations: 92.8 kB / 0.9903 GB, free: 2.859 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005777/0.3811, allocations: 311.2 kB / 0.9906 GB, free: 2.5 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.3811, allocations: 30.56 kB / 0.9906 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.262e-06/0.3811, allocations: 0 / 0.9906 GB, free: 2.461 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0007747/0.3819, allocations: 293.6 kB / 0.9909 GB, free: 2.168 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.279e-05/0.3819, allocations: 67.28 kB / 0.9909 GB, free: 2.09 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003361/0.3823, allocations: 328.5 kB / 0.9913 GB, free: 1.758 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.61e-05/0.3823, allocations: 29.7 kB / 0.9913 GB, free: 1.723 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001393/0.3824, allocations: 180.3 kB / 0.9915 GB, free: 1.543 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.283e-05/0.3825, allocations: 63.44 kB / 0.9915 GB, free: 1.48 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.807e-05/0.3826, allocations: 45.7 kB / 0.9916 GB, free: 1.43 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.3827, allocations: 338.8 kB / 0.9919 GB, free: 1.09 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001658/0.3829, allocations: 67.94 kB / 0.9919 GB, free: 1.023 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002158/0.3831, allocations: 130.6 kB / 0.9921 GB, free: 0.8789 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003556/0.3835, allocations: 208.1 kB / 0.9923 GB, free: 0.6602 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.521e-06/0.3835, allocations: 4 kB / 0.9923 GB, free: 0.6562 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004669/0.3839, allocations: 249.3 kB / 0.9925 GB, free: 416 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/0.3839, allocations: 7.938 kB / 0.9925 GB, free: 408 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.225e-06/0.384, allocations: 4 kB / 0.9925 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.384, allocations: 0 / 0.9925 GB, free: 404 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002007/0.3842, allocations: 48.06 kB / 0.9926 GB, free: 356 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.584e-06/0.3842, allocations: 4 kB / 0.9926 GB, free: 352 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001806/0.3844, allocations: 27.78 kB / 0.9926 GB, free: 324 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.313e-05/0.3844, allocations: 19.92 kB / 0.9926 GB, free: 304 kB / 0.7325 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.0001454/0.3845, allocations: 149.8 kB / 0.9928 GB, free: 144 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.696e-05/0.3846, allocations: 35.77 kB / 0.9928 GB, free: 108 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004913/0.3851, allocations: 235.5 kB / 0.993 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.794e-06/0.3851, allocations: 7.984 kB / 0.993 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.037e-06/0.3851, allocations: 0 / 0.993 GB, free: 15.87 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.949e-06/0.3851, allocations: 3.984 kB / 0.993 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00108/0.3862, allocations: 0.7068 MB / 0.9937 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.3862, allocations: 0 / 0.9937 GB, free: 15.08 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/0.3863, allocations: 31.98 kB / 0.9937 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.241e-06/0.3864, allocations: 4 kB / 0.9938 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.689e-05/0.3864, allocations: 7.938 kB / 0.9938 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.304e-06/0.3864, allocations: 4 kB / 0.9938 GB, free: 15.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.888e-06/0.3864, allocations: 8.156 kB / 0.9938 GB, free: 15.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006564/0.387, allocations: 457 kB / 0.9942 GB, free: 14.54 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001434/0.3872, allocations: 128.8 kB / 0.9943 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.386e-05/0.3872, allocations: 8.031 kB / 0.9943 GB, free: 14.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00017/0.3874, allocations: 19.92 kB / 0.9944 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.058e-05/0.3874, allocations: 15.98 kB / 0.9944 GB, free: 14.35 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.777e-05/0.3875, allocations: 8.062 kB / 0.9944 GB, free: 14.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002304/0.3877, allocations: 235 kB / 0.9946 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of sort global known variables: time 8e-08/0.3877, allocations: 0 / 0.9946 GB, free: 14.12 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003838/0.3881, allocations: 79.89 kB / 0.9947 GB, free: 14.04 MB / 0.7481 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.001219/0.3893, allocations: 1.042 MB / 0.9957 GB, free: 12.95 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004261/0.3897, allocations: 179.7 kB / 0.9959 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3897, allocations: 0 / 0.9959 GB, free: 12.78 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001876/0.3899, allocations: 88.27 kB / 0.996 GB, free: 12.69 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.3907, allocations: 174.7 kB / 0.9961 GB, free: 12.52 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003772/0.3945, allocations: 2.998 MB / 0.999 GB, free: 9.367 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.3949, allocations: 0.7834 MB / 0.9998 GB, free: 8.559 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000206/0.3951, allocations: 62.94 kB / 0.9999 GB, free: 8.496 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001307/0.3952, allocations: 91.41 kB / 1 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of SimCode: time 2.81e-07/0.3952, allocations: 0 / 1 GB, free: 8.406 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4214/0.8166, allocations: 9.093 MB / 1.009 GB, free: 192.3 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.923/8.74, allocations: 3.25 kB / 1.009 GB, free: 192.3 MB / 0.7481 GB " [Timeout remaining time 651] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_Velocity.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 12.668548120651394] Failed to read output from testmodel.py, exit status != 0: 8.809386080596596 8.823205238 8.445267851 Calling exit ...