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.0009426/0.0009426, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.0009778/0.0009778, allocations: 177 kB / 23.36 MB, free: 1.133 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.9921/0.9921, allocations: 177.1 MB / 203.8 MB, free: 5.473 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.002312/0.002312, allocations: 243 kB / 260.5 MB, free: 12.69 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.7771/0.7771, allocations: 138.4 MB / 402.2 MB, free: 0.5625 MB / 362.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: 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 1.362e-06/1.362e-06, allocations: 0 / 462.3 MB, free: 0.8828 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.869e-05/2.005e-05, allocations: 8.766 kB / 462.3 MB, free: 0.8789 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1357/0.1358, allocations: 145.9 MB / 0.594 GB, free: 492 kB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.002042/0.1378, allocations: 1.297 MB / 0.5953 GB, free: 15.18 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002601/0.1381, allocations: 19.81 kB / 0.5953 GB, free: 15.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003766/0.1384, allocations: 79.34 kB / 0.5953 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0008046/0.1393, allocations: 401.7 kB / 0.5957 GB, free: 14.69 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008683/0.1401, allocations: 467.7 kB / 0.5962 GB, free: 14.23 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0006956/0.1408, allocations: 0.6971 MB / 0.5969 GB, free: 13.54 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003395/0.1412, allocations: 180 kB / 0.597 GB, free: 13.36 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005467/0.1417, allocations: 371 kB / 0.5974 GB, free: 13 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002107/0.1419, allocations: 181.5 kB / 0.5976 GB, free: 12.82 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.173e-05/0.1419, allocations: 28 kB / 0.5976 GB, free: 12.8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004803/0.1424, allocations: 315 kB / 0.5979 GB, free: 12.49 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001049/0.1425, allocations: 111.6 kB / 0.598 GB, free: 12.38 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.063e-05/0.1426, allocations: 115.8 kB / 0.5981 GB, free: 12.27 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005345/0.1432, allocations: 434.6 kB / 0.5985 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.727e-06/0.1432, allocations: 0 / 0.5985 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd: time 9.82e-07/0.1432, allocations: 0 / 0.5985 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.011e-06/0.1432, allocations: 4 kB / 0.5985 GB, free: 11.84 MB / 0.5573 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.0005773/0.1437, allocations: 0.518 MB / 0.599 GB, free: 11.3 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.1438, allocations: 12.75 kB / 0.599 GB, free: 11.29 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006426/0.1444, allocations: 212.3 kB / 0.5992 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000291/0.1447, allocations: 244.6 kB / 0.5995 GB, free: 10.82 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.664e-05/0.1447, allocations: 16.88 kB / 0.5995 GB, free: 10.8 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.42e-05/0.1448, allocations: 32.31 kB / 0.5995 GB, free: 10.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002401/0.145, allocations: 219.7 kB / 0.5997 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.258e-06/0.145, allocations: 0 / 0.5997 GB, free: 10.53 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.611e-05/0.145, allocations: 12 kB / 0.5997 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.145, allocations: 4 kB / 0.5997 GB, free: 10.52 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.314e-05/0.1451, allocations: 76.33 kB / 0.5998 GB, free: 10.44 MB / 0.5573 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.0009989/0.1461, allocations: 0.7803 MB / 0.6006 GB, free: 9.633 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001215/0.1462, allocations: 117.9 kB / 0.6007 GB, free: 9.508 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.228e-05/0.1463, allocations: 31.67 kB / 0.6007 GB, free: 9.473 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001742/0.1465, allocations: 43.95 kB / 0.6008 GB, free: 9.43 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1465, allocations: 31.38 kB / 0.6008 GB, free: 9.391 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.563e-06/0.1465, allocations: 4 kB / 0.6008 GB, free: 9.387 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002522/0.1467, allocations: 128.2 kB / 0.6009 GB, free: 9.258 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.132e-05/0.1468, allocations: 51.41 kB / 0.601 GB, free: 9.195 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.1469, allocations: 232.9 kB / 0.6012 GB, free: 8.961 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.737e-05/0.1469, allocations: 29.7 kB / 0.6012 GB, free: 8.926 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.672e-05/0.147, allocations: 168.7 kB / 0.6014 GB, free: 8.758 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.081e-05/0.147, allocations: 63.42 kB / 0.6014 GB, free: 8.695 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.1471, allocations: 41.69 kB / 0.6015 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 9.286e-05/0.1472, allocations: 338.8 kB / 0.6018 GB, free: 8.309 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.536e-05/0.1472, allocations: 22.81 kB / 0.6018 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.1473, allocations: 142.2 kB / 0.602 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.462e-05/0.1474, allocations: 103.5 kB / 0.6021 GB, free: 7.992 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.1474, allocations: 3.938 kB / 0.6021 GB, free: 7.988 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001362/0.1475, allocations: 123.2 kB / 0.6022 GB, free: 7.859 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.1475, allocations: 4 kB / 0.6022 GB, free: 7.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.1476, allocations: 4.75 kB / 0.6022 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.38e-05/0.1476, allocations: 4.094 kB / 0.6022 GB, free: 7.848 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001013/0.1477, allocations: 43.92 kB / 0.6022 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/0.1477, allocations: 3.984 kB / 0.6022 GB, free: 7.801 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.134e-05/0.1477, allocations: 19.88 kB / 0.6023 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.946e-05/0.1478, allocations: 12.81 kB / 0.6023 GB, free: 7.77 MB / 0.5573 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 7.947e-05/0.1478, allocations: 124.5 kB / 0.6024 GB, free: 7.637 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.854e-05/0.1479, allocations: 19.98 kB / 0.6024 GB, free: 7.617 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.148, allocations: 113.2 kB / 0.6025 GB, free: 7.508 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.036e-06/0.148, allocations: 7.875 kB / 0.6025 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.674e-06/0.148, allocations: 8 kB / 0.6025 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/0.148, allocations: 0 / 0.6025 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004143/0.1484, allocations: 496 kB / 0.603 GB, free: 6.953 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.1484, allocations: 4 kB / 0.603 GB, free: 6.949 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.833e-05/0.1485, allocations: 31.92 kB / 0.603 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.424e-06/0.1485, allocations: 0 / 0.603 GB, free: 6.918 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.389e-05/0.1485, allocations: 8.219 kB / 0.603 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.307e-06/0.1485, allocations: 8 kB / 0.6031 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.1485, allocations: 0 / 0.6031 GB, free: 6.902 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002071/0.1487, allocations: 322.2 kB / 0.6034 GB, free: 6.543 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.311e-05/0.1488, allocations: 38.41 kB / 0.6034 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.237e-05/0.1488, allocations: 9.125 kB / 0.6034 GB, free: 6.5 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.845e-05/0.1489, allocations: 4 kB / 0.6034 GB, free: 6.496 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.408e-05/0.1489, allocations: 19.91 kB / 0.6034 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.503e-06/0.1489, allocations: 4 kB / 0.6034 GB, free: 6.473 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 6.442e-05/0.149, allocations: 78.78 kB / 0.6035 GB, free: 6.391 MB / 0.5573 GB Notification: Performance of sort global known variables: time 7e-08/0.149, allocations: 4.031 kB / 0.6035 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002465/0.1492, allocations: 87.81 kB / 0.6036 GB, free: 6.301 MB / 0.5573 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.0001945/0.1494, allocations: 113 kB / 0.6037 GB, free: 6.18 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001347/0.1496, allocations: 80.64 kB / 0.6038 GB, free: 6.098 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.61e-06/0.1496, allocations: 4 kB / 0.6038 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.629e-05/0.1496, allocations: 52.89 kB / 0.6038 GB, free: 6.039 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000382/0.15, allocations: 124.8 kB / 0.604 GB, free: 5.93 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008509/0.1509, allocations: 0.5531 MB / 0.6045 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.969e-05/0.1509, allocations: 98.97 kB / 0.6046 GB, free: 5.219 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001038/0.151, allocations: 30.02 kB / 0.6046 GB, free: 5.195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001812/0.1512, allocations: 129.2 kB / 0.6047 GB, free: 5.066 MB / 0.5573 GB Notification: Performance of SimCode: time 7.42e-07/0.1512, allocations: 4 kB / 0.6047 GB, free: 5.062 MB / 0.5573 GB Notification: Performance of Templates: time 0.007506/0.1587, allocations: 4.986 MB / 0.6096 GB, free: 308 kB / 0.5573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.97173357475549]