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.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.001484/0.001484, allocations: 119.9 kB / 17.13 MB, free: 5.758 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.001545/0.001545, allocations: 191.7 kB / 20.08 MB, free: 2.848 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.386/1.386, allocations: 225.6 MB / 248.5 MB, free: 3.641 MB / 190.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.002431/0.002431, allocations: 290.1 kB / 303.6 MB, free: 3.695 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.039/1.039, allocations: 180.9 MB / 0.5268 GB, free: 2.738 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.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 0.002746/0.002746, allocations: 100.2 kB / 0.7259 GB, free: 8.859 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5078/0.5106, allocations: 94.16 MB / 0.8179 GB, free: 7.457 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.1982/0.7087, allocations: 168 MB / 0.9819 GB, free: 8.645 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.7117, allocations: 1.549 MB / 0.9834 GB, free: 7.094 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003028/0.712, allocations: 15.88 kB / 0.9834 GB, free: 7.078 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0005379/0.7125, allocations: 154.9 kB / 0.9836 GB, free: 6.926 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.001734/0.7142, allocations: 0.739 MB / 0.9843 GB, free: 6.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.001502/0.7157, allocations: 0.6149 MB / 0.9849 GB, free: 5.57 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.000913/0.7166, allocations: 0.7253 MB / 0.9856 GB, free: 4.84 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003585/0.717, allocations: 204.8 kB / 0.9858 GB, free: 4.645 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006324/0.7176, allocations: 350.6 kB / 0.9861 GB, free: 4.301 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003215/0.718, allocations: 239 kB / 0.9864 GB, free: 4.066 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 5.022e-05/0.718, allocations: 24 kB / 0.9864 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001565/0.7196, allocations: 0.9312 MB / 0.9873 GB, free: 3.109 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0001366/0.7197, allocations: 111.6 kB / 0.9874 GB, free: 3 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001886/0.7199, allocations: 175.1 kB / 0.9876 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001081/0.721, allocations: 0.7243 MB / 0.9883 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 8.966e-06/0.721, allocations: 4 kB / 0.9883 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.462e-06/0.721, allocations: 0 / 0.9883 GB, free: 2.098 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.075e-05/0.721, allocations: 0 / 0.9883 GB, free: 2.098 MB / 0.7169 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.001003/0.722, allocations: 0.6886 MB / 0.9889 GB, free: 1.359 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.722, allocations: 12.03 kB / 0.989 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.7232, allocations: 151.6 kB / 0.9891 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005368/0.7237, allocations: 322.9 kB / 0.9894 GB, free: 0.8438 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.43e-05/0.7237, allocations: 20.56 kB / 0.9894 GB, free: 0.8242 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.231e-05/0.7238, allocations: 27.94 kB / 0.9895 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005137/0.7243, allocations: 281.8 kB / 0.9897 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.073e-05/0.7243, allocations: 0 / 0.9897 GB, free: 0.5039 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.578e-05/0.7243, allocations: 12 kB / 0.9897 GB, free: 0.4922 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.7243, allocations: 4 kB / 0.9897 GB, free: 500 kB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000426/0.7248, allocations: 208.7 kB / 0.9899 GB, free: 292 kB / 0.7169 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.001512/0.7263, allocations: 1.227 MB / 0.9911 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002977/0.7266, allocations: 138.4 kB / 0.9913 GB, free: 14.81 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001945/0.7268, allocations: 92.81 kB / 0.9914 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005782/0.7273, allocations: 307.2 kB / 0.9917 GB, free: 14.36 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.045e-05/0.7274, allocations: 38.48 kB / 0.9917 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=17): time 1.253e-06/0.7274, allocations: 4 kB / 0.9917 GB, free: 14.31 MB / 0.7325 GB Notification: Performance of matching and sorting (n=17): time 0.0008118/0.7282, allocations: 295.5 kB / 0.992 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.928e-05/0.7282, allocations: 51.41 kB / 0.992 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003403/0.7286, allocations: 324.5 kB / 0.9923 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 3.036e-05/0.7286, allocations: 29.7 kB / 0.9924 GB, free: 13.59 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001426/0.7287, allocations: 188.3 kB / 0.9925 GB, free: 13.4 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.982e-05/0.7288, allocations: 67.42 kB / 0.9926 GB, free: 13.34 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.81e-05/0.7289, allocations: 45.64 kB / 0.9926 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.729, allocations: 338.8 kB / 0.993 GB, free: 12.95 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001753/0.7292, allocations: 67.95 kB / 0.993 GB, free: 12.88 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002173/0.7294, allocations: 135.2 kB / 0.9932 GB, free: 12.73 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003641/0.7298, allocations: 197 kB / 0.9934 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.7298, allocations: 3.938 kB / 0.9934 GB, free: 12.52 MB / 0.7325 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004729/0.7303, allocations: 255.5 kB / 0.9936 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.7303, allocations: 4 kB / 0.9936 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.7303, allocations: 4 kB / 0.9936 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.438e-05/0.7303, allocations: 0 / 0.9936 GB, free: 12.25 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002073/0.7305, allocations: 51.91 kB / 0.9937 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.642e-06/0.7305, allocations: 0 / 0.9937 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.7307, allocations: 35.77 kB / 0.9937 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.932e-05/0.7307, allocations: 12.09 kB / 0.9937 GB, free: 12.16 MB / 0.7325 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.0001523/0.7309, allocations: 153.7 kB / 0.9939 GB, free: 12 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.048e-05/0.7309, allocations: 31.8 kB / 0.9939 GB, free: 11.96 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004916/0.7314, allocations: 234.3 kB / 0.9941 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.262e-06/0.7314, allocations: 4 kB / 0.9941 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.7314, allocations: 0 / 0.9941 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.328e-06/0.7315, allocations: 3.938 kB / 0.9941 GB, free: 11.73 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001061/0.7325, allocations: 0.7031 MB / 0.9948 GB, free: 10.95 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.7325, allocations: 4 kB / 0.9948 GB, free: 10.94 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001755/0.7327, allocations: 43.91 kB / 0.9948 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.106e-06/0.7327, allocations: 0 / 0.9948 GB, free: 10.9 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.683e-05/0.7327, allocations: 4 kB / 0.9948 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.971e-06/0.7327, allocations: 7.938 kB / 0.9949 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.463e-06/0.7327, allocations: 0 / 0.9949 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006789/0.7334, allocations: 461.1 kB / 0.9953 GB, free: 10.4 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001206/0.7335, allocations: 125 kB / 0.9954 GB, free: 10.26 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.829e-05/0.7336, allocations: 4 kB / 0.9954 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001732/0.7337, allocations: 15.94 kB / 0.9954 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.476e-05/0.7338, allocations: 19.91 kB / 0.9955 GB, free: 10.22 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.487e-05/0.7338, allocations: 12 kB / 0.9955 GB, free: 10.21 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002333/0.734, allocations: 227 kB / 0.9957 GB, free: 9.988 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.734, allocations: 3.938 kB / 0.9957 GB, free: 9.984 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0003862/0.7344, allocations: 95.83 kB / 0.9958 GB, free: 9.891 MB / 0.7325 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.0003891/0.7348, allocations: 154.7 kB / 0.9959 GB, free: 9.734 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0004487/0.7353, allocations: 179.8 kB / 0.9961 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.7353, allocations: 0 / 0.9961 GB, free: 9.559 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.000198/0.7355, allocations: 95.84 kB / 0.9962 GB, free: 9.465 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008522/0.7363, allocations: 170.7 kB / 0.9963 GB, free: 9.301 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001039/0.7373, allocations: 0.6584 MB / 0.997 GB, free: 8.586 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004043/0.7378, allocations: 0.7871 MB / 0.9978 GB, free: 7.773 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.811e-05/0.7378, allocations: 27.44 kB / 0.9978 GB, free: 7.746 MB / 0.7325 GB Notification: Performance of SimCode: time 4.31e-07/0.7378, allocations: 4 kB / 0.9978 GB, free: 7.742 MB / 0.7325 GB Notification: Performance of Templates: time 0.007828/0.7457, allocations: 4.98 MB / 1.003 GB, free: 2.82 MB / 0.7325 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: 9.648658016929403] Failed to read output from testmodel.py, exit status != 0: 0.7538723929319531 0.765743568 0.041986226 Calling exit ...