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.0007353/0.0007353, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0007765/0.0007765, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8963/0.8963, allocations: 177.1 MB / 202.8 MB, free: 5.734 MB / 186.7 MB " [Timeout remaining time 179] 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.001424/0.001424, allocations: 237.7 kB / 259.4 MB, free: 13.02 MB / 250.7 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 0.685/0.685, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 0.6463 GB, free: 1.84 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.574e-05/1.753e-05, allocations: 9.172 kB / 0.6463 GB, free: 1.832 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.3798/0.3798, allocations: 147.6 MB / 0.7904 GB, free: 7.465 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001856/0.3816, allocations: 1.483 MB / 0.7919 GB, free: 5.98 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000211/0.3818, allocations: 15.81 kB / 0.7919 GB, free: 5.965 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.0004904/0.3823, allocations: 154.8 kB / 0.792 GB, free: 5.812 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.001271/0.3836, allocations: 0.7229 MB / 0.7927 GB, free: 5.086 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008911/0.3845, allocations: 0.6548 MB / 0.7934 GB, free: 4.43 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.0005023/0.385, allocations: 0.7133 MB / 0.7941 GB, free: 3.715 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002503/0.3853, allocations: 173.4 kB / 0.7942 GB, free: 3.539 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004468/0.3857, allocations: 438.7 kB / 0.7946 GB, free: 3.109 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001785/0.3859, allocations: 207.3 kB / 0.7948 GB, free: 2.906 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 3.184e-05/0.3859, allocations: 24 kB / 0.7949 GB, free: 2.883 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006281/0.3865, allocations: 0.732 MB / 0.7956 GB, free: 2.148 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 9.242e-05/0.3866, allocations: 107.6 kB / 0.7957 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 8.631e-05/0.3867, allocations: 115.8 kB / 0.7958 GB, free: 1.93 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0006159/0.3873, allocations: 0.7362 MB / 0.7965 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.857e-06/0.3873, allocations: 0 / 0.7965 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3873, allocations: 0 / 0.7965 GB, free: 1.191 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.18e-06/0.3873, allocations: 0 / 0.7965 GB, free: 1.191 MB / 0.6198 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.0008946/0.3882, allocations: 0.5867 MB / 0.7971 GB, free: 0.5742 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.966e-05/0.3883, allocations: 9.938 kB / 0.7971 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.604e-05/0.3883, allocations: 59.19 kB / 0.7971 GB, free: 0.5 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005856/0.3889, allocations: 151.6 kB / 0.7973 GB, free: 360 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003471/0.3893, allocations: 256.6 kB / 0.7975 GB, free: 80 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.3893, allocations: 24.38 kB / 0.7976 GB, free: 56 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.3893, allocations: 24 kB / 0.7976 GB, free: 32 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000319/0.3896, allocations: 275.6 kB / 0.7978 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.647e-06/0.3896, allocations: 0 / 0.7978 GB, free: 15.74 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.838e-05/0.3896, allocations: 16.59 kB / 0.7979 GB, free: 15.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.552e-06/0.3897, allocations: 4 kB / 0.7979 GB, free: 15.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002349/0.3899, allocations: 195.8 kB / 0.7981 GB, free: 15.53 MB / 0.6355 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.0008378/0.3907, allocations: 0.9784 MB / 0.799 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001774/0.3909, allocations: 126.5 kB / 0.7991 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.391, allocations: 84.8 kB / 0.7992 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002381/0.3912, allocations: 74.67 kB / 0.7993 GB, free: 14.21 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.3913, allocations: 42.34 kB / 0.7993 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.082e-06/0.3913, allocations: 0 / 0.7993 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004466/0.3917, allocations: 286.8 kB / 0.7996 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.948e-05/0.3917, allocations: 55.41 kB / 0.7996 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002147/0.392, allocations: 316.5 kB / 0.8 GB, free: 13.5 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.669e-05/0.392, allocations: 29.7 kB / 0.8 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.015e-05/0.3921, allocations: 184.3 kB / 0.8002 GB, free: 13.28 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.842e-05/0.3921, allocations: 51.53 kB / 0.8002 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.165e-05/0.3921, allocations: 49.66 kB / 0.8003 GB, free: 13.17 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 7.978e-05/0.3922, allocations: 338.8 kB / 0.8006 GB, free: 12.83 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.961e-05/0.3923, allocations: 67.95 kB / 0.8006 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.3925, allocations: 203.2 kB / 0.8008 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000207/0.3927, allocations: 185.9 kB / 0.801 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.3927, allocations: 3.938 kB / 0.801 GB, free: 12.33 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0002671/0.3929, allocations: 247.5 kB / 0.8012 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.207e-05/0.3929, allocations: 4 kB / 0.8013 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.719e-06/0.393, allocations: 0 / 0.8013 GB, free: 12.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.393, allocations: 4 kB / 0.8013 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.3931, allocations: 45.28 kB / 0.8013 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.3931, allocations: 4 kB / 0.8013 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.551e-05/0.3932, allocations: 31.77 kB / 0.8013 GB, free: 12 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.744e-05/0.3932, allocations: 8 kB / 0.8013 GB, free: 11.99 MB / 0.6355 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 9.385e-05/0.3933, allocations: 159.3 kB / 0.8015 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.754e-05/0.3933, allocations: 27.81 kB / 0.8015 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002662/0.3936, allocations: 223.4 kB / 0.8017 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.514e-06/0.3936, allocations: 4 kB / 0.8017 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.917e-06/0.3936, allocations: 0 / 0.8017 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.795e-06/0.3936, allocations: 0 / 0.8017 GB, free: 11.57 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005871/0.3942, allocations: 0.6319 MB / 0.8024 GB, free: 10.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3942, allocations: 3.938 kB / 0.8024 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.239e-05/0.3943, allocations: 31.98 kB / 0.8024 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.344e-06/0.3943, allocations: 0 / 0.8024 GB, free: 10.83 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.166e-05/0.3943, allocations: 8 kB / 0.8024 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.188e-06/0.3943, allocations: 11.92 kB / 0.8024 GB, free: 10.81 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.3943, allocations: 8.156 kB / 0.8024 GB, free: 10.8 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003774/0.3947, allocations: 424.1 kB / 0.8028 GB, free: 10.36 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.007e-05/0.3947, allocations: 55.73 kB / 0.8029 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.398e-05/0.3947, allocations: 4 kB / 0.8029 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.404e-05/0.3948, allocations: 15.92 kB / 0.8029 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.928e-05/0.3949, allocations: 17.05 kB / 0.8029 GB, free: 10.27 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.323e-06/0.3949, allocations: 4 kB / 0.8029 GB, free: 10.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000137/0.395, allocations: 233.7 kB / 0.8031 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6e-08/0.395, allocations: 0 / 0.8031 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000236/0.3952, allocations: 79.94 kB / 0.8032 GB, free: 9.961 MB / 0.6355 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.0009043/0.3962, allocations: 1.003 MB / 0.8042 GB, free: 8.91 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002441/0.3964, allocations: 172.9 kB / 0.8044 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.3964, allocations: 0 / 0.8044 GB, free: 8.742 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.975e-05/0.3965, allocations: 87.83 kB / 0.8044 GB, free: 8.656 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004982/0.397, allocations: 165.6 kB / 0.8046 GB, free: 8.516 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002184/0.3992, allocations: 2.892 MB / 0.8074 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001028/0.3993, allocations: 167.1 kB / 0.8076 GB, free: 5.289 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.3994, allocations: 63.81 kB / 0.8076 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.984e-05/0.3995, allocations: 88.47 kB / 0.8077 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of SimCode: time 3.11e-07/0.3995, allocations: 0 / 0.8077 GB, free: 5.141 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02132/0.4208, allocations: 10.12 MB / 0.8176 GB, free: 11.39 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.926/7.347, allocations: 3.609 kB / 0.8176 GB, free: 11.39 MB / 0.6511 GB " [Timeout remaining time 653] (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: 9.937499172054231] Failed to read output from testmodel.py, exit status != 0: 7.430183422751725 7.440632328 7.050789325 Calling exit ...