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.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.001272/0.001272, allocations: 107.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.00123/0.00123, allocations: 191.8 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.321/1.321, allocations: 225.6 MB / 247.8 MB, free: 13.93 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.00242/0.00242, allocations: 288.4 kB / 303 MB, free: 9.496 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.145/1.145, allocations: 180.9 MB / 0.5261 GB, free: 14.89 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.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 0.002636/0.002636, allocations: 111.8 kB / 0.7248 GB, free: 40 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1579/0.1605, allocations: 94.15 MB / 0.8167 GB, free: 5.473 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2127/0.3732, allocations: 167.9 MB / 0.9807 GB, free: 12.92 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002824/0.3761, allocations: 1.551 MB / 0.9822 GB, free: 11.36 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002482/0.3763, allocations: 11.94 kB / 0.9822 GB, free: 11.35 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0004781/0.3768, allocations: 146.9 kB / 0.9824 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001703/0.3785, allocations: 0.7429 MB / 0.9831 GB, free: 10.46 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001468/0.38, allocations: 0.6068 MB / 0.9837 GB, free: 9.855 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.000801/0.3808, allocations: 0.7051 MB / 0.9844 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003399/0.3811, allocations: 197.2 kB / 0.9846 GB, free: 8.953 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005436/0.3816, allocations: 346.7 kB / 0.9849 GB, free: 8.613 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002854/0.3819, allocations: 231 kB / 0.9851 GB, free: 8.387 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.083e-05/0.382, allocations: 24 kB / 0.9851 GB, free: 8.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001398/0.3834, allocations: 0.9234 MB / 0.986 GB, free: 7.438 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001298/0.3835, allocations: 111.6 kB / 0.9861 GB, free: 7.328 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0001709/0.3837, allocations: 163.2 kB / 0.9863 GB, free: 7.168 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009865/0.3847, allocations: 0.7242 MB / 0.987 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.3847, allocations: 0 / 0.987 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of FrontEnd: time 9.31e-07/0.3847, allocations: 0 / 0.987 GB, free: 6.441 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.386e-05/0.3847, allocations: 0 / 0.987 GB, free: 6.441 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.000955/0.3856, allocations: 0.6537 MB / 0.9877 GB, free: 5.738 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.927e-05/0.3857, allocations: 8.031 kB / 0.9877 GB, free: 5.73 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.304e-05/0.3857, allocations: 66.47 kB / 0.9877 GB, free: 5.656 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001068/0.3868, allocations: 155.6 kB / 0.9879 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005492/0.3873, allocations: 329.8 kB / 0.9882 GB, free: 5.145 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.247e-05/0.3874, allocations: 16.44 kB / 0.9882 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.576e-05/0.3874, allocations: 20 kB / 0.9882 GB, free: 5.109 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004852/0.3879, allocations: 287.3 kB / 0.9885 GB, free: 4.809 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.305e-05/0.3879, allocations: 3.938 kB / 0.9885 GB, free: 4.805 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.3879, allocations: 12 kB / 0.9885 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.116e-05/0.3879, allocations: 8 kB / 0.9885 GB, free: 4.785 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004079/0.3884, allocations: 195.8 kB / 0.9887 GB, free: 4.594 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.001431/0.3898, allocations: 1.198 MB / 0.9899 GB, free: 3.293 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002755/0.3901, allocations: 134.4 kB / 0.99 GB, free: 3.152 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001621/0.3902, allocations: 80.81 kB / 0.9901 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005907/0.3908, allocations: 319.1 kB / 0.9904 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.757e-05/0.3908, allocations: 30.56 kB / 0.9904 GB, free: 2.664 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.463e-06/0.3908, allocations: 4 kB / 0.9904 GB, free: 2.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007517/0.3916, allocations: 283.4 kB / 0.9907 GB, free: 2.379 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.226e-05/0.3916, allocations: 55.41 kB / 0.9907 GB, free: 2.312 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003251/0.392, allocations: 312.5 kB / 0.991 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.392, allocations: 29.7 kB / 0.9911 GB, free: 1.961 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001425/0.3921, allocations: 188.2 kB / 0.9912 GB, free: 1.773 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 4.708e-05/0.3922, allocations: 59.48 kB / 0.9913 GB, free: 1.715 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.339e-05/0.3923, allocations: 45.7 kB / 0.9913 GB, free: 1.664 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.3924, allocations: 338.8 kB / 0.9917 GB, free: 1.324 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001521/0.3926, allocations: 59.95 kB / 0.9917 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001981/0.3928, allocations: 126.7 kB / 0.9918 GB, free: 1.125 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003347/0.3931, allocations: 189 kB / 0.992 GB, free: 0.9219 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.379e-06/0.3931, allocations: 4 kB / 0.992 GB, free: 0.918 MB / 0.7325 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004391/0.3935, allocations: 242.4 kB / 0.9923 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.528e-05/0.3936, allocations: 6.656 kB / 0.9923 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.622e-06/0.3936, allocations: 4 kB / 0.9923 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.556e-05/0.3936, allocations: 0 / 0.9923 GB, free: 0.668 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001946/0.3938, allocations: 47.91 kB / 0.9923 GB, free: 0.6211 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.486e-06/0.3938, allocations: 7.938 kB / 0.9923 GB, free: 0.6133 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001738/0.394, allocations: 27.83 kB / 0.9924 GB, free: 0.5859 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.549e-05/0.394, allocations: 8.094 kB / 0.9924 GB, free: 0.5781 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.0001483/0.3941, allocations: 157.7 kB / 0.9925 GB, free: 424 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.241e-05/0.3942, allocations: 27.81 kB / 0.9925 GB, free: 396 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000448/0.3946, allocations: 216.3 kB / 0.9927 GB, free: 172 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.3946, allocations: 4 kB / 0.9927 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3946, allocations: 0 / 0.9927 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.3946, allocations: 0 / 0.9927 GB, free: 168 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001053/0.3957, allocations: 0.6914 MB / 0.9934 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/0.3957, allocations: 8.031 kB / 0.9934 GB, free: 15.39 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001518/0.3958, allocations: 31.98 kB / 0.9935 GB, free: 15.36 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.217e-06/0.3959, allocations: 7.938 kB / 0.9935 GB, free: 15.35 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.472e-05/0.3959, allocations: 4 kB / 0.9935 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.978e-06/0.3959, allocations: 7.875 kB / 0.9935 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.3959, allocations: 4 kB / 0.9935 GB, free: 15.33 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.3965, allocations: 440.2 kB / 0.9939 GB, free: 14.87 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001364/0.3966, allocations: 124.8 kB / 0.994 GB, free: 14.73 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.991e-05/0.3967, allocations: 8.062 kB / 0.994 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001585/0.3968, allocations: 8 kB / 0.994 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.503e-05/0.3969, allocations: 19.97 kB / 0.9941 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.16e-05/0.3969, allocations: 4 kB / 0.9941 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002198/0.3971, allocations: 227 kB / 0.9943 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of sort global known variables: time 7e-08/0.3971, allocations: 0 / 0.9943 GB, free: 14.47 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003656/0.3975, allocations: 83.88 kB / 0.9944 GB, free: 14.39 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 (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.001228/0.3987, allocations: 1.027 MB / 0.9954 GB, free: 13.32 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004058/0.3991, allocations: 163.8 kB / 0.9955 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3991, allocations: 0 / 0.9955 GB, free: 13.16 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001887/0.3993, allocations: 91.81 kB / 0.9956 GB, free: 13.07 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008103/0.4001, allocations: 170.2 kB / 0.9958 GB, free: 12.9 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003603/0.4037, allocations: 2.918 MB / 0.9986 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004188/0.4041, allocations: 0.7756 MB / 0.9994 GB, free: 9.035 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.000198/0.4043, allocations: 62.92 kB / 0.9994 GB, free: 8.973 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.4045, allocations: 87.41 kB / 0.9995 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of SimCode: time 4.71e-07/0.4045, allocations: 0 / 0.9995 GB, free: 8.887 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03673/0.4412, allocations: 8.906 MB / 1.008 GB, free: 200 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.895/8.337, allocations: 10.59 kB / 1.008 GB, free: 192 kB / 0.7481 GB " [Timeout remaining time 651] (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: 12.547176759690046] Failed to read output from testmodel.py, exit status != 0: 8.755866535007954 8.768099934 8.380408939 Calling exit ...