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.001631/0.001631, allocations: 101.7 kB / 19.59 MB, free: 2.324 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.001951/0.001951, allocations: 188.9 kB / 22.85 MB, free: 5.652 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.427/1.427, allocations: 225.6 MB / 251.5 MB, free: 13.02 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.002723/0.002723, allocations: 282.7 kB / 307 MB, free: 8.461 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.238/1.238, allocations: 180.8 MB / 0.5304 GB, free: 14.6 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: translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002879/0.002879, allocations: 103.1 kB / 0.7311 GB, free: 38.84 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1625, allocations: 94.2 MB / 0.8231 GB, free: 2.02 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.2026/0.3652, allocations: 166.3 MB / 0.9855 GB, free: 11.08 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003239/0.3684, allocations: 1.555 MB / 0.987 GB, free: 9.523 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004668/0.3689, allocations: 23.75 kB / 0.987 GB, free: 9.5 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0005622/0.3694, allocations: 146.9 kB / 0.9871 GB, free: 9.355 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.001944/0.3714, allocations: 0.743 MB / 0.9879 GB, free: 8.609 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.001663/0.373, allocations: 0.641 MB / 0.9885 GB, free: 7.969 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.001007/0.374, allocations: 0.709 MB / 0.9892 GB, free: 7.254 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003822/0.3744, allocations: 185.3 kB / 0.9894 GB, free: 7.074 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006788/0.3751, allocations: 346.7 kB / 0.9897 GB, free: 6.734 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003602/0.3755, allocations: 235.1 kB / 0.9899 GB, free: 6.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 4.612e-05/0.3755, allocations: 24 kB / 0.9899 GB, free: 6.48 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001291/0.3768, allocations: 0.7245 MB / 0.9906 GB, free: 5.754 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0001524/0.377, allocations: 115.6 kB / 0.9908 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0002031/0.3772, allocations: 171.2 kB / 0.9909 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001147/0.3783, allocations: 0.6929 MB / 0.9916 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.3783, allocations: 0 / 0.9916 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.492e-06/0.3783, allocations: 0 / 0.9916 GB, free: 4.777 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.591e-05/0.3783, allocations: 0 / 0.9916 GB, free: 4.777 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.001088/0.3794, allocations: 0.5785 MB / 0.9922 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.206e-05/0.3795, allocations: 11.97 kB / 0.9922 GB, free: 4.156 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001192/0.3806, allocations: 159.6 kB / 0.9923 GB, free: 4 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006083/0.3813, allocations: 268 kB / 0.9926 GB, free: 3.715 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.651e-05/0.3813, allocations: 16.44 kB / 0.9926 GB, free: 3.699 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.951e-05/0.3813, allocations: 24 kB / 0.9926 GB, free: 3.676 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000533/0.3819, allocations: 279.4 kB / 0.9929 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.3819, allocations: 0 / 0.9929 GB, free: 3.383 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.3819, allocations: 11.94 kB / 0.9929 GB, free: 3.371 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/0.3819, allocations: 8 kB / 0.9929 GB, free: 3.363 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004389/0.3824, allocations: 199.8 kB / 0.9931 GB, free: 3.168 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.001641/0.384, allocations: 1.168 MB / 0.9942 GB, free: 1.906 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002871/0.3843, allocations: 130.5 kB / 0.9944 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000181/0.3845, allocations: 84.8 kB / 0.9944 GB, free: 1.684 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004402/0.3849, allocations: 71.92 kB / 0.9945 GB, free: 1.613 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.3849, allocations: 38.48 kB / 0.9945 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=15): time 1.132e-06/0.3849, allocations: 0 / 0.9945 GB, free: 1.566 MB / 0.7325 GB Notification: Performance of matching and sorting (n=15): time 0.0007942/0.3857, allocations: 281.6 kB / 0.9948 GB, free: 1.285 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.837e-05/0.3858, allocations: 55.39 kB / 0.9949 GB, free: 1.219 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003456/0.3861, allocations: 308.6 kB / 0.9952 GB, free: 0.9023 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.23e-05/0.3862, allocations: 37.69 kB / 0.9952 GB, free: 0.8594 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001437/0.3863, allocations: 184.2 kB / 0.9954 GB, free: 0.6758 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.34e-05/0.3864, allocations: 51.48 kB / 0.9954 GB, free: 0.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.72e-05/0.3864, allocations: 49.7 kB / 0.9955 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.3866, allocations: 346.7 kB / 0.9958 GB, free: 228 kB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001726/0.3868, allocations: 63.95 kB / 0.9959 GB, free: 164 kB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002373/0.387, allocations: 122 kB / 0.996 GB, free: 24 kB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000399/0.3874, allocations: 189.1 kB / 0.9962 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.3874, allocations: 3.984 kB / 0.9962 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005005/0.3879, allocations: 238 kB / 0.9964 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.967e-05/0.3879, allocations: 8.094 kB / 0.9964 GB, free: 15.57 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.631e-06/0.3879, allocations: 4 kB / 0.9964 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.388, allocations: 4 kB / 0.9964 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001965/0.3882, allocations: 43.92 kB / 0.9964 GB, free: 15.52 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.3882, allocations: 7.938 kB / 0.9965 GB, free: 15.51 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001985/0.3884, allocations: 35.77 kB / 0.9965 GB, free: 15.47 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.834e-05/0.3884, allocations: 8 kB / 0.9965 GB, free: 15.46 MB / 0.7481 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.0001558/0.3885, allocations: 155 kB / 0.9966 GB, free: 15.3 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.947e-05/0.3886, allocations: 39.75 kB / 0.9967 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000496/0.3891, allocations: 219.4 kB / 0.9969 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.3891, allocations: 0 / 0.9969 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.3891, allocations: 4 kB / 0.9969 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.3891, allocations: 0 / 0.9969 GB, free: 15.05 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.3902, allocations: 0.6513 MB / 0.9975 GB, free: 14.33 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.3902, allocations: 4 kB / 0.9975 GB, free: 14.32 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001612/0.3904, allocations: 31.98 kB / 0.9976 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.3904, allocations: 4.156 kB / 0.9976 GB, free: 14.29 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.3904, allocations: 8 kB / 0.9976 GB, free: 14.28 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/0.3904, allocations: 7.938 kB / 0.9976 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.746e-06/0.3904, allocations: 7.984 kB / 0.9976 GB, free: 14.27 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000678/0.3911, allocations: 425.1 kB / 0.998 GB, free: 13.81 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001172/0.3912, allocations: 51.75 kB / 0.998 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.925e-05/0.3912, allocations: 11.94 kB / 0.9981 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001631/0.3914, allocations: 4 kB / 0.9981 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.549e-05/0.3915, allocations: 28.02 kB / 0.9981 GB, free: 13.72 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.138e-05/0.3915, allocations: 4 kB / 0.9981 GB, free: 13.71 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0002458/0.3917, allocations: 227 kB / 0.9983 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of sort global known variables: time 9.1e-08/0.3917, allocations: 0 / 0.9983 GB, free: 13.49 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003871/0.3921, allocations: 75.94 kB / 0.9984 GB, free: 13.42 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.0003861/0.3925, allocations: 168.3 kB / 0.9985 GB, free: 13.25 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0004628/0.393, allocations: 167.8 kB / 0.9987 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.393, allocations: 0 / 0.9987 GB, free: 13.09 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0002017/0.3932, allocations: 92.44 kB / 0.9988 GB, free: 13 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008779/0.394, allocations: 163.8 kB / 0.9989 GB, free: 12.84 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001032/0.3951, allocations: 0.6059 MB / 0.9995 GB, free: 12.18 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004137/0.3955, allocations: 0.7872 MB / 1 GB, free: 11.37 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.0001888/0.3957, allocations: 67.08 kB / 1 GB, free: 11.31 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.346e-05/0.3957, allocations: 23.44 kB / 1 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of SimCode: time 3.21e-07/0.3957, allocations: 0 / 1 GB, free: 11.29 MB / 0.7481 GB Notification: Performance of Templates: time 0.01184/0.4076, allocations: 5.914 MB / 1.006 GB, free: 5.473 MB / 0.7481 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (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 & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -s cvode -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.747140813997248] Failed to read output from testmodel.py, exit status != 0: 0.4150303780043032 0.712560361 0.331498429 Calling exit ...