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.001009/0.001009, allocations: 92.2 kB / 20.19 MB, free: 4.363 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.001287/0.001287, allocations: 173 kB / 23.49 MB, free: 1.062 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 1.082/1.082, allocations: 177.1 MB / 203.8 MB, free: 5.645 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.001741/0.001741, allocations: 228.9 kB / 260.5 MB, free: 12.89 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.789/0.789, allocations: 138.4 MB / 455.4 MB, free: 1.531 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 2.044e-06/2.044e-06, allocations: 0 / 0.555 GB, free: 0.8477 MB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.77e-05/1.975e-05, allocations: 2.312 kB / 0.555 GB, free: 0.8438 MB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Sensors.Examples.Velocity): time 0.3712/0.3713, allocations: 163.7 MB / 0.7149 GB, free: 9.32 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.002068/0.3733, allocations: 1.581 MB / 0.7164 GB, free: 7.738 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002128/0.3735, allocations: 15.88 kB / 0.7165 GB, free: 7.723 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 0.0004207/0.374, allocations: 170.7 kB / 0.7166 GB, free: 7.555 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.001172/0.3751, allocations: 0.719 MB / 0.7173 GB, free: 6.832 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.00108/0.3762, allocations: 0.6618 MB / 0.718 GB, free: 6.168 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0006236/0.3768, allocations: 0.7253 MB / 0.7187 GB, free: 5.441 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002815/0.3771, allocations: 193.4 kB / 0.7189 GB, free: 5.258 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005595/0.3777, allocations: 450.6 kB / 0.7193 GB, free: 4.816 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002188/0.3779, allocations: 211.3 kB / 0.7195 GB, free: 4.609 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 3.263e-05/0.3779, allocations: 24 kB / 0.7195 GB, free: 4.586 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008535/0.3788, allocations: 0.728 MB / 0.7202 GB, free: 3.855 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0001098/0.3789, allocations: 115.6 kB / 0.7203 GB, free: 3.742 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0001059/0.379, allocations: 131.7 kB / 0.7205 GB, free: 3.613 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0007164/0.3797, allocations: 0.6426 MB / 0.7211 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.268e-06/0.3797, allocations: 0 / 0.7211 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.903e-06/0.3797, allocations: 0 / 0.7211 GB, free: 2.969 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.861e-06/0.3797, allocations: 4 kB / 0.7211 GB, free: 2.965 MB / 0.5261 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.0007007/0.3804, allocations: 0.7006 MB / 0.7218 GB, free: 2.227 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.717e-05/0.3805, allocations: 8.75 kB / 0.7218 GB, free: 2.219 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000752/0.3812, allocations: 211.2 kB / 0.722 GB, free: 2.012 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003263/0.3816, allocations: 275.4 kB / 0.7222 GB, free: 1.719 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.789e-05/0.3816, allocations: 16.5 kB / 0.7223 GB, free: 1.703 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.23e-05/0.3816, allocations: 23.94 kB / 0.7223 GB, free: 1.68 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003118/0.3819, allocations: 243.9 kB / 0.7225 GB, free: 1.414 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.153e-05/0.3819, allocations: 3.938 kB / 0.7225 GB, free: 1.41 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.914e-05/0.3819, allocations: 12 kB / 0.7225 GB, free: 1.398 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.141e-05/0.382, allocations: 4 kB / 0.7225 GB, free: 1.395 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001475/0.3821, allocations: 94.11 kB / 0.7226 GB, free: 1.305 MB / 0.5261 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.0008883/0.383, allocations: 1.138 MB / 0.7237 GB, free: 108 kB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001586/0.3831, allocations: 103 kB / 0.7238 GB, free: 15.99 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.657e-05/0.3832, allocations: 39.62 kB / 0.7239 GB, free: 15.95 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002333/0.3834, allocations: 70.73 kB / 0.7239 GB, free: 15.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.034e-05/0.3835, allocations: 33.39 kB / 0.724 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=17): time 1.292e-06/0.3835, allocations: 0 / 0.724 GB, free: 15.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=17): time 0.0003487/0.3838, allocations: 175.2 kB / 0.7241 GB, free: 15.67 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.306e-05/0.3838, allocations: 59.39 kB / 0.7242 GB, free: 15.6 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001951/0.384, allocations: 302.2 kB / 0.7245 GB, free: 15.29 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.734e-05/0.3841, allocations: 33.7 kB / 0.7245 GB, free: 15.25 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.3842, allocations: 238.9 kB / 0.7247 GB, free: 15.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.312e-05/0.3842, allocations: 59.48 kB / 0.7248 GB, free: 14.95 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.275e-05/0.3843, allocations: 55.31 kB / 0.7249 GB, free: 14.89 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001214/0.3844, allocations: 0.5079 MB / 0.7254 GB, free: 14.37 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.996e-05/0.3844, allocations: 23.98 kB / 0.7254 GB, free: 14.35 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000111/0.3845, allocations: 179.5 kB / 0.7255 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001336/0.3847, allocations: 126.1 kB / 0.7257 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.3847, allocations: 0.8125 kB / 0.7257 GB, free: 13.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0001997/0.3849, allocations: 173.3 kB / 0.7258 GB, free: 13.81 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.249e-05/0.3849, allocations: 4 kB / 0.7258 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.292e-06/0.3849, allocations: 7.938 kB / 0.7258 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.261e-05/0.3849, allocations: 0 / 0.7258 GB, free: 13.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000116/0.385, allocations: 44.08 kB / 0.7259 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.384e-06/0.385, allocations: 7.922 kB / 0.7259 GB, free: 13.75 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.966e-05/0.3851, allocations: 27.28 kB / 0.7259 GB, free: 13.72 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.863e-05/0.3851, allocations: 8 kB / 0.7259 GB, free: 13.71 MB / 0.5417 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.032e-05/0.3852, allocations: 164.6 kB / 0.7261 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.412e-05/0.3853, allocations: 31.86 kB / 0.7261 GB, free: 13.51 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001904/0.3854, allocations: 147.9 kB / 0.7263 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.3854, allocations: 0 / 0.7263 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.3854, allocations: 0 / 0.7263 GB, free: 13.36 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.568e-06/0.3855, allocations: 7.984 kB / 0.7263 GB, free: 13.35 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005063/0.386, allocations: 0.5846 MB / 0.7268 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.386, allocations: 0 / 0.7268 GB, free: 12.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.801e-05/0.386, allocations: 31.98 kB / 0.7269 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.075e-06/0.3861, allocations: 3.984 kB / 0.7269 GB, free: 12.66 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.293e-05/0.3861, allocations: 7.938 kB / 0.7269 GB, free: 12.65 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.3861, allocations: 8.156 kB / 0.7269 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.385e-06/0.3861, allocations: 8 kB / 0.7269 GB, free: 12.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002777/0.3863, allocations: 372.1 kB / 0.7272 GB, free: 12.23 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.273e-05/0.3864, allocations: 47.77 kB / 0.7273 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.168e-05/0.3864, allocations: 0 / 0.7273 GB, free: 12.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.507e-05/0.3865, allocations: 8 kB / 0.7273 GB, free: 12.17 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.596e-05/0.3865, allocations: 23.91 kB / 0.7273 GB, free: 12.15 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.645e-06/0.3866, allocations: 8 kB / 0.7273 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 9.94e-05/0.3867, allocations: 203 kB / 0.7275 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3867, allocations: 0 / 0.7275 GB, free: 11.94 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002571/0.3869, allocations: 99.84 kB / 0.7276 GB, free: 11.84 MB / 0.5417 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.0001982/0.3871, allocations: 147.1 kB / 0.7278 GB, free: 11.69 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.000178/0.3873, allocations: 104.2 kB / 0.7279 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.222e-06/0.3873, allocations: 0 / 0.7279 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 6.544e-05/0.3874, allocations: 56.16 kB / 0.7279 GB, free: 11.53 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004404/0.3878, allocations: 134.6 kB / 0.728 GB, free: 11.41 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009319/0.3887, allocations: 0.6006 MB / 0.7286 GB, free: 10.76 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.159e-05/0.3888, allocations: 100.3 kB / 0.7287 GB, free: 10.64 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 0.0001114/0.3889, allocations: 55.83 kB / 0.7288 GB, free: 10.58 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.517e-05/0.3889, allocations: 24.5 kB / 0.7288 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of SimCode: time 7.51e-07/0.3889, allocations: 0 / 0.7288 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of Templates: time 0.006513/0.3955, allocations: 4.914 MB / 0.7336 GB, free: 5.816 MB / 0.5417 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: 4.218029287876561]