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.00143/0.00143, allocations: 79.7 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001591/0.001591, allocations: 167.7 kB / 22.46 MB, free: 5.359 MB / 14.72 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 1.511/1.511, allocations: 177.1 MB / 202.8 MB, free: 9.188 MB / 190.1 MB " [Timeout remaining time 178] 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.002562/0.002562, allocations: 234.5 kB / 259.4 MB, free: 492 kB / 238.1 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 1.099/1.099, allocations: 138.4 MB / 454.3 MB, free: 2.012 MB / 366.1 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.462e-06/1.462e-06, allocations: 0 / 0.6468 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.385e-05/3.532e-05, allocations: 2.281 kB / 0.6468 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.5222/0.5222, allocations: 147.6 MB / 0.7909 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.00347/0.5257, allocations: 1.502 MB / 0.7924 GB, free: 11.36 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005351/0.5262, allocations: 15.88 kB / 0.7924 GB, free: 11.34 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.000673/0.5269, allocations: 154.8 kB / 0.7926 GB, free: 11.19 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.002473/0.5294, allocations: 0.7228 MB / 0.7933 GB, free: 10.46 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002155/0.5315, allocations: 0.6653 MB / 0.7939 GB, free: 9.797 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.001408/0.5329, allocations: 0.7292 MB / 0.7946 GB, free: 9.066 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005779/0.5335, allocations: 181.4 kB / 0.7948 GB, free: 8.883 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001287/0.5348, allocations: 450.6 kB / 0.7952 GB, free: 8.441 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006217/0.5354, allocations: 211.3 kB / 0.7954 GB, free: 8.234 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 8.563e-05/0.5355, allocations: 24 kB / 0.7955 GB, free: 8.211 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002028/0.5375, allocations: 0.732 MB / 0.7962 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0002169/0.5377, allocations: 115.6 kB / 0.7963 GB, free: 7.363 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0002822/0.538, allocations: 123.7 kB / 0.7964 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.002084/0.5401, allocations: 0.7362 MB / 0.7971 GB, free: 6.504 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.5401, allocations: 3.938 kB / 0.7971 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.693e-06/0.5401, allocations: 0 / 0.7971 GB, free: 6.5 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.585e-05/0.5401, allocations: 3.844 kB / 0.7971 GB, free: 6.5 MB / 0.6231 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.001624/0.5417, allocations: 0.5979 MB / 0.7977 GB, free: 5.871 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 5.369e-05/0.5418, allocations: 13.34 kB / 0.7977 GB, free: 5.859 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001358/0.5432, allocations: 159.5 kB / 0.7979 GB, free: 5.703 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007117/0.5439, allocations: 264.5 kB / 0.7981 GB, free: 5.422 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.145e-05/0.5439, allocations: 20.5 kB / 0.7982 GB, free: 5.402 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.143e-05/0.544, allocations: 20 kB / 0.7982 GB, free: 5.383 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006424/0.5446, allocations: 277.1 kB / 0.7984 GB, free: 5.094 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.762e-05/0.5446, allocations: 7.938 kB / 0.7984 GB, free: 5.086 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.885e-05/0.5447, allocations: 8 kB / 0.7985 GB, free: 5.078 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.439e-05/0.5447, allocations: 8 kB / 0.7985 GB, free: 5.07 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005102/0.5452, allocations: 208.9 kB / 0.7987 GB, free: 4.867 MB / 0.6231 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.001686/0.5469, allocations: 0.9228 MB / 0.7996 GB, free: 3.902 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003538/0.5472, allocations: 138.5 kB / 0.7997 GB, free: 3.758 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002029/0.5474, allocations: 88.75 kB / 0.7998 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000509/0.5479, allocations: 75.91 kB / 0.7998 GB, free: 3.594 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.125e-05/0.548, allocations: 38.56 kB / 0.7999 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=17): time 1.593e-06/0.548, allocations: 0 / 0.7999 GB, free: 3.547 MB / 0.6231 GB Notification: Performance of matching and sorting (n=17): time 0.0009396/0.5489, allocations: 290.2 kB / 0.8002 GB, free: 3.262 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.645e-05/0.549, allocations: 55.41 kB / 0.8002 GB, free: 3.195 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004222/0.5494, allocations: 260.1 kB / 0.8005 GB, free: 2.934 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.664e-05/0.5494, allocations: 29.7 kB / 0.8005 GB, free: 2.898 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002002/0.5496, allocations: 192.2 kB / 0.8007 GB, free: 2.707 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 8.426e-05/0.5497, allocations: 59.48 kB / 0.8007 GB, free: 2.648 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.5498, allocations: 53.66 kB / 0.8008 GB, free: 2.59 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001998/0.55, allocations: 330.8 kB / 0.8011 GB, free: 2.258 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002998/0.5503, allocations: 78.73 kB / 0.8012 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003147/0.5507, allocations: 198.2 kB / 0.8014 GB, free: 1.953 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004385/0.5511, allocations: 205 kB / 0.8016 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.5511, allocations: 0 / 0.8016 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005902/0.5517, allocations: 250.6 kB / 0.8018 GB, free: 1.484 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.182e-05/0.5517, allocations: 4 kB / 0.8018 GB, free: 1.48 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.24e-05/0.5517, allocations: 7.938 kB / 0.8018 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.002e-05/0.5517, allocations: 0 / 0.8018 GB, free: 1.473 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.552, allocations: 47.91 kB / 0.8019 GB, free: 1.426 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.165e-05/0.552, allocations: 7.938 kB / 0.8019 GB, free: 1.418 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002179/0.5522, allocations: 26.38 kB / 0.8019 GB, free: 1.395 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.242e-05/0.5522, allocations: 8 kB / 0.8019 GB, free: 1.387 MB / 0.6231 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 0.0001922/0.5524, allocations: 153.9 kB / 0.802 GB, free: 1.227 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.402e-05/0.5525, allocations: 27.81 kB / 0.8021 GB, free: 1.199 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000565/0.5531, allocations: 229.3 kB / 0.8023 GB, free: 0.9688 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.5531, allocations: 6.328 kB / 0.8023 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.511e-06/0.5531, allocations: 0 / 0.8023 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.5531, allocations: 0 / 0.8023 GB, free: 0.9648 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001325/0.5544, allocations: 0.6246 MB / 0.8029 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.766e-06/0.5544, allocations: 0 / 0.8029 GB, free: 288 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001872/0.5546, allocations: 35.92 kB / 0.8029 GB, free: 252 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.304e-06/0.5546, allocations: 4 kB / 0.8029 GB, free: 248 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.146e-05/0.5546, allocations: 8 kB / 0.8029 GB, free: 240 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.155e-06/0.5546, allocations: 7.797 kB / 0.803 GB, free: 236 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.047e-06/0.5546, allocations: 4.219 kB / 0.803 GB, free: 232 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008279/0.5555, allocations: 446.4 kB / 0.8034 GB, free: 15.75 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001044/0.5556, allocations: 43.81 kB / 0.8034 GB, free: 15.71 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.418e-05/0.5556, allocations: 8 kB / 0.8034 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001746/0.5558, allocations: 7.984 kB / 0.8034 GB, free: 15.7 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.412e-05/0.5559, allocations: 23.86 kB / 0.8035 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.274e-05/0.5559, allocations: 4 kB / 0.8035 GB, free: 15.67 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000205/0.5561, allocations: 191.1 kB / 0.8037 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of sort global known variables: time 7e-08/0.5561, allocations: 2.906 kB / 0.8037 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0004774/0.5566, allocations: 87.81 kB / 0.8037 GB, free: 15.4 MB / 0.6387 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.0003705/0.5569, allocations: 143.1 kB / 0.8039 GB, free: 15.25 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.000516/0.5575, allocations: 180.9 kB / 0.804 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.177e-06/0.5575, allocations: 4.062 kB / 0.8041 GB, free: 15.07 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.000231/0.5577, allocations: 91.81 kB / 0.8041 GB, free: 14.98 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008383/0.5585, allocations: 116.8 kB / 0.8042 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001348/0.5599, allocations: 0.5908 MB / 0.8048 GB, free: 14.25 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002142/0.5601, allocations: 175.5 kB / 0.805 GB, free: 14.05 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0001938/0.5603, allocations: 58.23 kB / 0.805 GB, free: 14 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.155e-05/0.5604, allocations: 24.5 kB / 0.8051 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of SimCode: time 6.01e-07/0.5604, allocations: 0 / 0.8051 GB, free: 13.97 MB / 0.6387 GB Notification: Performance of Templates: time 0.01189/0.5723, allocations: 4.814 MB / 0.8098 GB, free: 9.332 MB / 0.6387 GB " [Timeout remaining time 659] 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.346272490918636] Failed to read output from testmodel.py, exit status != 0: 0.5816652178764343 0.597580016 0.053951745 Calling exit ...