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.0009426/0.0009426, allocations: 80.88 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.001057/0.001057, allocations: 181 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.9552/0.9552, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.002011/0.002011, allocations: 255.6 kB / 260.5 MB, free: 12.68 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.6905/0.6905, 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.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.683e-06/1.683e-06, allocations: 0 / 462.3 MB, free: 0.918 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.926e-05/2.094e-05, allocations: 5.062 kB / 462.3 MB, free: 0.9141 MB / 410.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1292/0.1292, allocations: 146 MB / 0.594 GB, free: 0.5039 MB / 0.5417 GB Notification: Performance of NFInst.instExpressions: time 0.001833/0.1311, allocations: 1.316 MB / 0.5953 GB, free: 15.19 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.1313, allocations: 19.81 kB / 0.5953 GB, free: 15.17 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.000294/0.1316, allocations: 87.28 kB / 0.5954 GB, free: 15.09 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007903/0.1323, allocations: 397.7 kB / 0.5958 GB, free: 14.7 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008017/0.1332, allocations: 458.7 kB / 0.5962 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007214/0.1339, allocations: 0.7136 MB / 0.5969 GB, free: 13.53 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003411/0.1342, allocations: 192 kB / 0.5971 GB, free: 13.35 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000509/0.1347, allocations: 394.9 kB / 0.5975 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000201/0.1349, allocations: 188.2 kB / 0.5977 GB, free: 12.78 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.995e-05/0.135, allocations: 24 kB / 0.5977 GB, free: 12.75 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004992/0.1355, allocations: 307.1 kB / 0.598 GB, free: 12.45 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.1356, allocations: 123.6 kB / 0.5981 GB, free: 12.33 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 9.728e-05/0.1357, allocations: 115.8 kB / 0.5982 GB, free: 12.22 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005151/0.1362, allocations: 446.5 kB / 0.5986 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.1362, allocations: 4 kB / 0.5986 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.1362, allocations: 0 / 0.5986 GB, free: 11.78 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.478e-06/0.1362, allocations: 0 / 0.5986 GB, free: 11.78 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: 55 * Number of variables: 55 Notification: Performance of Generate backend data structure: time 0.0005499/0.1367, allocations: 0.5375 MB / 0.5992 GB, free: 11.22 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.047e-05/0.1368, allocations: 8.75 kB / 0.5992 GB, free: 11.21 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0006117/0.1374, allocations: 212.3 kB / 0.5994 GB, free: 11 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002721/0.1376, allocations: 256.6 kB / 0.5996 GB, free: 10.73 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.736e-05/0.1377, allocations: 20.44 kB / 0.5996 GB, free: 10.71 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.196e-05/0.1377, allocations: 23.98 kB / 0.5997 GB, free: 10.69 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002283/0.1379, allocations: 216.5 kB / 0.5999 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.945e-06/0.1379, allocations: 2.109 kB / 0.5999 GB, free: 10.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1379, allocations: 12 kB / 0.5999 GB, free: 10.44 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.633e-06/0.1379, allocations: 8 kB / 0.5999 GB, free: 10.43 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.74e-05/0.138, allocations: 73.52 kB / 0.6 GB, free: 10.36 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.0008203/0.1389, allocations: 0.7876 MB / 0.6007 GB, free: 9.543 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001151/0.139, allocations: 125.3 kB / 0.6008 GB, free: 9.41 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.623e-05/0.139, allocations: 40.73 kB / 0.6009 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000186/0.1392, allocations: 51.88 kB / 0.6009 GB, free: 9.316 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.985e-05/0.1392, allocations: 34.56 kB / 0.601 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=17): time 1.543e-06/0.1392, allocations: 0 / 0.601 GB, free: 9.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=17): time 0.000248/0.1395, allocations: 123.6 kB / 0.6011 GB, free: 9.148 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.1395, allocations: 55.41 kB / 0.6011 GB, free: 9.082 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001324/0.1396, allocations: 247 kB / 0.6014 GB, free: 8.832 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.553e-05/0.1396, allocations: 29.7 kB / 0.6014 GB, free: 8.797 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.61e-05/0.1397, allocations: 164.7 kB / 0.6016 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.091e-05/0.1397, allocations: 63.42 kB / 0.6016 GB, free: 8.57 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.698e-05/0.1398, allocations: 41.69 kB / 0.6017 GB, free: 8.523 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.555e-05/0.1399, allocations: 346.7 kB / 0.602 GB, free: 8.176 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.32e-05/0.1399, allocations: 22.81 kB / 0.602 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.197e-05/0.14, allocations: 142.2 kB / 0.6021 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.571e-05/0.1401, allocations: 114.9 kB / 0.6022 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.1401, allocations: 0 / 0.6022 GB, free: 7.844 MB / 0.5573 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001439/0.1402, allocations: 133.7 kB / 0.6024 GB, free: 7.707 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.26e-05/0.1402, allocations: 7.984 kB / 0.6024 GB, free: 7.699 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.6e-06/0.1402, allocations: 5.875 kB / 0.6024 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.618e-06/0.1402, allocations: 0 / 0.6024 GB, free: 7.695 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.978e-05/0.1403, allocations: 39.92 kB / 0.6024 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.098e-06/0.1403, allocations: 4 kB / 0.6024 GB, free: 7.652 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.407e-05/0.1404, allocations: 23.83 kB / 0.6025 GB, free: 7.629 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.955e-05/0.1404, allocations: 12.08 kB / 0.6025 GB, free: 7.617 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 (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 7.478e-05/0.1405, allocations: 124.6 kB / 0.6026 GB, free: 7.484 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.707e-05/0.1405, allocations: 23.92 kB / 0.6026 GB, free: 7.461 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001363/0.1407, allocations: 115.7 kB / 0.6027 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1407, allocations: 0 / 0.6027 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.144e-06/0.1407, allocations: 0.8125 kB / 0.6027 GB, free: 7.344 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.907e-06/0.1407, allocations: 3.984 kB / 0.6027 GB, free: 7.34 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.1411, allocations: 0.5116 MB / 0.6032 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.525e-06/0.1411, allocations: 0 / 0.6032 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.168e-05/0.1412, allocations: 35.92 kB / 0.6033 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.1412, allocations: 0.75 kB / 0.6033 GB, free: 6.738 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.1412, allocations: 8 kB / 0.6033 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.938e-06/0.1412, allocations: 4 kB / 0.6033 GB, free: 6.727 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.1412, allocations: 3.984 kB / 0.6033 GB, free: 6.723 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002142/0.1414, allocations: 331.2 kB / 0.6036 GB, free: 6.355 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.72e-05/0.1415, allocations: 43.77 kB / 0.6036 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.089e-05/0.1415, allocations: 4.812 kB / 0.6036 GB, free: 6.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.726e-05/0.1416, allocations: 8 kB / 0.6036 GB, free: 6.301 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.723e-05/0.1416, allocations: 19.84 kB / 0.6037 GB, free: 6.281 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.366e-06/0.1416, allocations: 8 kB / 0.6037 GB, free: 6.273 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 5.886e-05/0.1417, allocations: 88.62 kB / 0.6038 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of sort global known variables: time 5e-08/0.1417, allocations: 0 / 0.6038 GB, free: 6.188 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002368/0.1419, allocations: 83.89 kB / 0.6038 GB, free: 6.105 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 (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.0001974/0.1421, allocations: 116.2 kB / 0.6039 GB, free: 5.98 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001419/0.1422, allocations: 86.92 kB / 0.604 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.1e-06/0.1422, allocations: 4 kB / 0.604 GB, free: 5.891 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 5.113e-05/0.1423, allocations: 54.73 kB / 0.6041 GB, free: 5.836 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003692/0.1427, allocations: 119.8 kB / 0.6042 GB, free: 5.73 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008362/0.1435, allocations: 0.594 MB / 0.6048 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.819e-05/0.1436, allocations: 100.2 kB / 0.6049 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001143/0.1437, allocations: 37.53 kB / 0.6049 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001815/0.1439, allocations: 129.3 kB / 0.605 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of SimCode: time 8.12e-07/0.1439, allocations: 0 / 0.605 GB, free: 4.812 MB / 0.5573 GB Notification: Performance of Templates: time 0.006829/0.1507, allocations: 5.067 MB / 0.61 GB, free: 15.97 MB / 0.573 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=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.Fluid.Sensors.Examples.Velocity.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.7883222200907767]