Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.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.0008631/0.0008631, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.001149/0.001149, allocations: 177.9 kB / 23.21 MB, free: 1.348 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.8722/0.8722, allocations: 177.1 MB / 203.5 MB, free: 5.727 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.001649/0.001649, allocations: 218.5 kB / 260.2 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.6467/0.6467, allocations: 138.4 MB / 455.1 MB, free: 1.621 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.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") translateModel(BuildingSystems.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.6475 GB, free: 28.7 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.109e-05/2.281e-05, allocations: 6.219 kB / 0.6476 GB, free: 28.69 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1286/0.1286, allocations: 147.6 MB / 0.7917 GB, free: 13.02 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.001954/0.1306, allocations: 1.488 MB / 0.7931 GB, free: 11.53 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000169/0.1307, allocations: 15.88 kB / 0.7932 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0004166/0.1312, allocations: 166.7 kB / 0.7933 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001179/0.1323, allocations: 0.7229 MB / 0.794 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009759/0.1333, allocations: 0.6592 MB / 0.7947 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0005089/0.1338, allocations: 0.7253 MB / 0.7954 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002752/0.1341, allocations: 189.3 kB / 0.7956 GB, free: 9.043 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005035/0.1346, allocations: 454.6 kB / 0.796 GB, free: 8.598 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001826/0.1348, allocations: 199.4 kB / 0.7962 GB, free: 8.402 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 3.256e-05/0.1348, allocations: 24 kB / 0.7962 GB, free: 8.379 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006918/0.1355, allocations: 0.7319 MB / 0.7969 GB, free: 7.645 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 9.664e-05/0.1356, allocations: 119.6 kB / 0.797 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 9.372e-05/0.1357, allocations: 123.8 kB / 0.7971 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.0006731/0.1364, allocations: 0.7401 MB / 0.7979 GB, free: 6.664 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.922e-06/0.1364, allocations: 7.984 kB / 0.7979 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.493e-06/0.1364, allocations: 0 / 0.7979 GB, free: 6.656 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.091e-06/0.1364, allocations: 0 / 0.7979 GB, free: 6.656 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0009472/0.1373, allocations: 0.5978 MB / 0.7985 GB, free: 6.027 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.837e-05/0.1374, allocations: 8.75 kB / 0.7985 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006087/0.138, allocations: 155.6 kB / 0.7986 GB, free: 5.867 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003826/0.1384, allocations: 272.5 kB / 0.7989 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.641e-05/0.1384, allocations: 16.5 kB / 0.7989 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.694e-05/0.1384, allocations: 24 kB / 0.7989 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003386/0.1388, allocations: 296.9 kB / 0.7992 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.019e-05/0.1388, allocations: 0 / 0.7992 GB, free: 5.23 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.733e-05/0.1388, allocations: 8 kB / 0.7992 GB, free: 5.223 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-06/0.1388, allocations: 4 kB / 0.7992 GB, free: 5.219 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.139, allocations: 204.9 kB / 0.7994 GB, free: 5.02 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.0008476/0.1399, allocations: 0.9252 MB / 0.8003 GB, free: 4.047 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001967/0.1401, allocations: 138.5 kB / 0.8004 GB, free: 3.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001027/0.1402, allocations: 93.11 kB / 0.8005 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002357/0.1404, allocations: 71.92 kB / 0.8006 GB, free: 3.738 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.078e-05/0.1405, allocations: 38.45 kB / 0.8006 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=17): time 1.683e-06/0.1405, allocations: 0 / 0.8006 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of matching and sorting (n=17): time 0.0004675/0.1409, allocations: 290.9 kB / 0.8009 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.26e-05/0.141, allocations: 59.34 kB / 0.801 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001771/0.1411, allocations: 260.1 kB / 0.8012 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.016e-05/0.1412, allocations: 29.7 kB / 0.8012 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.576e-05/0.1412, allocations: 192.2 kB / 0.8014 GB, free: 2.844 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.688e-05/0.1413, allocations: 55.48 kB / 0.8015 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.437e-05/0.1413, allocations: 49.66 kB / 0.8015 GB, free: 2.734 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.563e-05/0.1414, allocations: 338.8 kB / 0.8019 GB, free: 2.395 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001003/0.1415, allocations: 79.8 kB / 0.8019 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001482/0.1417, allocations: 198.2 kB / 0.8021 GB, free: 2.086 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002197/0.1419, allocations: 194.7 kB / 0.8023 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.605e-06/0.1419, allocations: 0 / 0.8023 GB, free: 1.879 MB / 0.6355 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0002813/0.1422, allocations: 251.6 kB / 0.8025 GB, free: 1.629 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.529e-05/0.1422, allocations: 15.88 kB / 0.8026 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1422, allocations: 0 / 0.8026 GB, free: 1.613 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1422, allocations: 4 kB / 0.8026 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001152/0.1423, allocations: 43.97 kB / 0.8026 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.482e-06/0.1423, allocations: 4 kB / 0.8026 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.958e-05/0.1424, allocations: 23.97 kB / 0.8026 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.108e-05/0.1424, allocations: 15.94 kB / 0.8026 GB, free: 1.523 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 (24): * Single equations (assignments): 24 * 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.979e-05/0.1425, allocations: 146.5 kB / 0.8028 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.709e-05/0.1426, allocations: 27.81 kB / 0.8028 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002883/0.1429, allocations: 236.6 kB / 0.803 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.026e-06/0.1429, allocations: 4 kB / 0.803 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.1429, allocations: 0 / 0.803 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.787e-06/0.1429, allocations: 3.984 kB / 0.803 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006006/0.1435, allocations: 0.6206 MB / 0.8037 GB, free: 428 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.1435, allocations: 4 kB / 0.8037 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.431e-05/0.1436, allocations: 35.98 kB / 0.8037 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.1436, allocations: 0 / 0.8037 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.127e-05/0.1436, allocations: 4 kB / 0.8037 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.1436, allocations: 8.219 kB / 0.8037 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.1436, allocations: 3.938 kB / 0.8037 GB, free: 372 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004085/0.144, allocations: 447.3 kB / 0.8041 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.542e-05/0.144, allocations: 47.7 kB / 0.8042 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.13e-05/0.1441, allocations: 4 kB / 0.8042 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.894e-05/0.1442, allocations: 11.98 kB / 0.8042 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.074e-05/0.1442, allocations: 15.92 kB / 0.8042 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.526e-06/0.1442, allocations: 16 kB / 0.8042 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001052/0.1443, allocations: 183.1 kB / 0.8044 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5e-08/0.1443, allocations: 0 / 0.8044 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002466/0.1446, allocations: 87.83 kB / 0.8045 GB, free: 15.54 MB / 0.6511 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 (17): * Single equations (assignments): 17 * 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.0002175/0.1448, allocations: 155.1 kB / 0.8046 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002735/0.145, allocations: 175.8 kB / 0.8048 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.145, allocations: 0 / 0.8048 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001068/0.1452, allocations: 83.83 kB / 0.8049 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007135/0.1459, allocations: 133 kB / 0.805 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006821/0.1465, allocations: 0.608 MB / 0.8056 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001208/0.1467, allocations: 171.5 kB / 0.8058 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.273e-05/0.1467, allocations: 32.5 kB / 0.8058 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of SimCode: time 6.61e-07/0.1467, allocations: 0 / 0.8058 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of Templates: time 0.004651/0.1514, allocations: 4.501 MB / 0.8102 GB, free: 9.648 MB / 0.6511 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.sim & ./BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 6.044498588889837] Failed to read output from testmodel.py, exit status != 0: 0.1570887453854084 0.165835075 0.0277078 Calling exit ...