Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.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.001392/0.001392, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.001904/0.001904, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.398/1.398, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002438/0.002438, allocations: 291.8 kB / 312.7 MB, free: 2.602 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.158/1.158, allocations: 180.6 MB / 0.5369 GB, free: 14.54 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 master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.004347/0.004347, allocations: 98.67 kB / 0.7395 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1874/0.1917, allocations: 95.37 MB / 0.8327 GB, free: 8.312 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1796/0.3713, allocations: 147.6 MB / 0.9768 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002685/0.374, allocations: 1.475 MB / 0.9783 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002348/0.3742, allocations: 19.81 kB / 0.9783 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0004497/0.3747, allocations: 154.8 kB / 0.9784 GB, free: 2.477 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001615/0.3763, allocations: 0.704 MB / 0.9791 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001428/0.3777, allocations: 0.6295 MB / 0.9797 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0007967/0.3785, allocations: 0.709 MB / 0.9804 GB, free: 436 kB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003162/0.3788, allocations: 173.3 kB / 0.9806 GB, free: 264 kB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.4015/0.7803, allocations: 345.7 kB / 0.9809 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005904/0.7809, allocations: 222.2 kB / 0.9811 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.99e-05/0.781, allocations: 24.62 kB / 0.9811 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00182/0.7828, allocations: 0.7194 MB / 0.9819 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001724/0.783, allocations: 111.8 kB / 0.982 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0002116/0.7832, allocations: 138.5 kB / 0.9821 GB, free: 4.336 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001284/0.7845, allocations: 0.6944 MB / 0.9828 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.7845, allocations: 0.7812 kB / 0.9828 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.705e-06/0.7845, allocations: 0 / 0.9828 GB, free: 4.305 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.833e-05/0.7845, allocations: 1.031 kB / 0.9828 GB, free: 4.305 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001155/0.7856, allocations: 0.5876 MB / 0.9833 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.419e-05/0.7857, allocations: 12.31 kB / 0.9834 GB, free: 19.9 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.908e-05/0.7857, allocations: 55.3 kB / 0.9834 GB, free: 19.86 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001076/0.7868, allocations: 159.8 kB / 0.9836 GB, free: 19.84 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005414/0.7874, allocations: 260.9 kB / 0.9838 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/0.7874, allocations: 18.12 kB / 0.9838 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.125e-05/0.7874, allocations: 21.66 kB / 0.9838 GB, free: 19.69 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004796/0.7879, allocations: 275.2 kB / 0.9841 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.172e-05/0.7879, allocations: 0.9062 kB / 0.9841 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.492e-05/0.788, allocations: 8.719 kB / 0.9841 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.501e-05/0.788, allocations: 5.75 kB / 0.9841 GB, free: 19.61 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004149/0.7884, allocations: 196.7 kB / 0.9843 GB, free: 19.61 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.001446/0.7898, allocations: 0.9829 MB / 0.9853 GB, free: 19 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002995/0.7901, allocations: 126.8 kB / 0.9854 GB, free: 18.98 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001813/0.7903, allocations: 86.06 kB / 0.9855 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005051/0.7908, allocations: 77.64 kB / 0.9855 GB, free: 18.97 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.872e-05/0.7909, allocations: 35.78 kB / 0.9856 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.753e-06/0.7909, allocations: 1.969 kB / 0.9856 GB, free: 18.93 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0008669/0.7917, allocations: 282.4 kB / 0.9859 GB, free: 18.88 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.469e-05/0.7918, allocations: 54.22 kB / 0.9859 GB, free: 18.82 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004265/0.7922, allocations: 317.7 kB / 0.9862 GB, free: 18.71 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.738e-05/0.7922, allocations: 30.92 kB / 0.9862 GB, free: 18.68 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001672/0.7924, allocations: 184.4 kB / 0.9864 GB, free: 18.57 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.115e-05/0.7924, allocations: 52.66 kB / 0.9865 GB, free: 18.54 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.915e-05/0.7925, allocations: 52.67 kB / 0.9865 GB, free: 18.52 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002279/0.7928, allocations: 336.9 kB / 0.9868 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001887/0.7929, allocations: 65.48 kB / 0.9869 GB, free: 18.21 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002845/0.7932, allocations: 211.5 kB / 0.9871 GB, free: 18.06 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003679/0.7936, allocations: 186 kB / 0.9873 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.7936, allocations: 1.031 kB / 0.9873 GB, free: 18.02 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005002/0.7941, allocations: 245.8 kB / 0.9875 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.355e-05/0.7941, allocations: 6.094 kB / 0.9875 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.7941, allocations: 1.938 kB / 0.9875 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.7942, allocations: 3.906 kB / 0.9875 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002/0.7944, allocations: 44.17 kB / 0.9876 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/0.7944, allocations: 3.391 kB / 0.9876 GB, free: 17.97 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002121/0.7946, allocations: 34 kB / 0.9876 GB, free: 17.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.956e-05/0.7946, allocations: 13.42 kB / 0.9876 GB, free: 17.95 MB / 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 (22): * Single equations (assignments): 22 * 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.0001546/0.7948, allocations: 155.3 kB / 0.9878 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.763e-05/0.7948, allocations: 31.31 kB / 0.9878 GB, free: 17.82 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.7953, allocations: 218.8 kB / 0.988 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.127e-06/0.7953, allocations: 2.906 kB / 0.988 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7953, allocations: 0.5156 kB / 0.988 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.629e-06/0.7953, allocations: 1.547 kB / 0.988 GB, free: 17.78 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009705/0.7962, allocations: 0.6376 MB / 0.9886 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.366e-06/0.7962, allocations: 2.875 kB / 0.9886 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001498/0.7964, allocations: 29.42 kB / 0.9887 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.939e-06/0.7964, allocations: 9.344 kB / 0.9887 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.638e-05/0.7964, allocations: 11.55 kB / 0.9887 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.7964, allocations: 3.188 kB / 0.9887 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.7964, allocations: 0.7812 kB / 0.9887 GB, free: 17.45 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006404/0.7971, allocations: 433.9 kB / 0.9891 GB, free: 17.24 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001065/0.7972, allocations: 48.58 kB / 0.9891 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.639e-05/0.7972, allocations: 6.422 kB / 0.9891 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.7974, allocations: 10.64 kB / 0.9892 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.246e-05/0.7974, allocations: 20.28 kB / 0.9892 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.049e-05/0.7975, allocations: 3.031 kB / 0.9892 GB, free: 17.22 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002285/0.7977, allocations: 235.1 kB / 0.9894 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of sort global known variables: time 7.1e-08/0.7977, allocations: 0 / 0.9894 GB, free: 17.14 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.00042/0.7981, allocations: 74.06 kB / 0.9895 GB, free: 17.14 MB / 0.7325 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 (15): * Single equations (assignments): 15 * 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.00112/0.7992, allocations: 1.008 MB / 0.9905 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003849/0.7996, allocations: 168.1 kB / 0.9906 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.7996, allocations: 4.875 kB / 0.9906 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001671/0.7998, allocations: 82.42 kB / 0.9907 GB, free: 16.41 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000868/0.8006, allocations: 169.4 kB / 0.9909 GB, free: 16.4 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003468/0.8041, allocations: 2.914 MB / 0.9937 GB, free: 14.86 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002381/0.8044, allocations: 173.6 kB / 0.9939 GB, free: 14.79 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0002517/0.8046, allocations: 64.08 kB / 0.9939 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001302/0.8047, allocations: 86.89 kB / 0.994 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of SimCode: time 6.41e-07/0.8047, allocations: 0.875 kB / 0.994 GB, free: 14.78 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04327/0.848, allocations: 10.01 MB / 1.004 GB, free: 13.53 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.68/11.52, allocations: 3.562 kB / 1.004 GB, free: 13.53 MB / 0.7325 GB " [Timeout remaining time 648] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate_fmu --startTime=0 --stopTime=60 --stepSize=0.024 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Sensors_Examples_VolumeFlowRate.fmu > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 15.513693571090698] Failed to read output from testmodel.py, exit status != 0: 11.63382313400507 11.648711469 10.861022024 Calling exit ...