Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001324/0.001325, allocations: 100.4 kB / 16.4 MB, free: 6 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001798/0.001798, allocations: 196.5 kB / 17.34 MB, free: 5.582 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.46/1.46, allocations: 222.9 MB / 241 MB, free: 15.12 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7774/0.7774, allocations: 122.9 MB / 414.1 MB, free: 15.73 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001437/0.001437, allocations: 61.92 kB / 0.5685 GB, free: 28.68 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1963/0.1977, allocations: 77.94 MB / 0.6446 GB, free: 8.918 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6481/0.8459, allocations: 167.4 MB / 0.8081 GB, free: 11.78 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.004222/0.8502, allocations: 1.566 MB / 0.8096 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005889/0.8508, allocations: 10.81 kB / 0.8096 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006324/0.8515, allocations: 156.5 kB / 0.8098 GB, free: 11.53 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001933/0.8534, allocations: 0.6991 MB / 0.8104 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001631/0.8551, allocations: 0.6048 MB / 0.811 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008476/0.856, allocations: 0.7145 MB / 0.8117 GB, free: 11.16 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003644/0.8563, allocations: 233.2 kB / 0.812 GB, free: 11.13 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005819/0.8569, allocations: 342.1 kB / 0.8123 GB, free: 11.04 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002762/0.8572, allocations: 228.3 kB / 0.8125 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.833e-05/0.8573, allocations: 29.25 kB / 0.8125 GB, free: 10.96 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001568/0.8589, allocations: 0.8735 MB / 0.8134 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001971/0.8591, allocations: 110.9 kB / 0.8135 GB, free: 10.68 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001652/0.8592, allocations: 168.9 kB / 0.8136 GB, free: 10.62 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001208/0.8605, allocations: 0.7368 MB / 0.8144 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.8605, allocations: 0 / 0.8144 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.703e-06/0.8605, allocations: 0 / 0.8144 GB, free: 10.35 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.233e-06/0.8605, allocations: 0 / 0.8144 GB, free: 10.35 MB / 0.5919 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.001031/0.8615, allocations: 0.6811 MB / 0.815 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.595e-05/0.8616, allocations: 10.97 kB / 0.815 GB, free: 9.785 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001206/0.8628, allocations: 161.2 kB / 0.8152 GB, free: 9.723 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005134/0.8633, allocations: 322.6 kB / 0.8155 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.177e-05/0.8634, allocations: 17.62 kB / 0.8155 GB, free: 9.449 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.416e-05/0.8634, allocations: 33.7 kB / 0.8155 GB, free: 9.438 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005509/0.864, allocations: 278.1 kB / 0.8158 GB, free: 9.316 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.864, allocations: 4 kB / 0.8158 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/0.864, allocations: 9.812 kB / 0.8158 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.586e-06/0.864, allocations: 5.281 kB / 0.8158 GB, free: 9.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003838/0.8644, allocations: 208.9 kB / 0.816 GB, free: 9.27 MB / 0.5919 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.001493/0.8659, allocations: 1.225 MB / 0.8172 GB, free: 8.285 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.8662, allocations: 150.2 kB / 0.8174 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001685/0.8664, allocations: 98.73 kB / 0.8175 GB, free: 8.211 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005455/0.8669, allocations: 297.8 kB / 0.8177 GB, free: 7.91 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.859e-05/0.867, allocations: 41.62 kB / 0.8178 GB, free: 7.863 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.363e-06/0.867, allocations: 4 kB / 0.8178 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007417/0.8677, allocations: 290.9 kB / 0.8181 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.513e-05/0.8678, allocations: 53.94 kB / 0.8181 GB, free: 7.707 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004074/0.8682, allocations: 331.5 kB / 0.8184 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.8682, allocations: 25.7 kB / 0.8185 GB, free: 7.52 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001262/0.8684, allocations: 192.5 kB / 0.8186 GB, free: 7.398 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.413e-05/0.8684, allocations: 62.09 kB / 0.8187 GB, free: 7.352 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.985e-05/0.8685, allocations: 45.11 kB / 0.8187 GB, free: 7.332 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001313/0.8686, allocations: 336.6 kB / 0.8191 GB, free: 7.012 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000157/0.8688, allocations: 73.28 kB / 0.8191 GB, free: 6.988 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000225/0.869, allocations: 130.2 kB / 0.8193 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003345/0.8694, allocations: 197.1 kB / 0.8195 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.957e-06/0.8694, allocations: 0.625 kB / 0.8195 GB, free: 6.766 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004448/0.8699, allocations: 262.5 kB / 0.8197 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.653e-05/0.8699, allocations: 5.656 kB / 0.8197 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.8699, allocations: 0 / 0.8197 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.001e-05/0.8699, allocations: 4.344 kB / 0.8197 GB, free: 6.621 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001972/0.8701, allocations: 44.95 kB / 0.8198 GB, free: 6.609 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.103e-05/0.8701, allocations: 9.766 kB / 0.8198 GB, free: 6.605 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000185/0.8703, allocations: 26.56 kB / 0.8198 GB, free: 6.59 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.119e-05/0.8704, allocations: 15.39 kB / 0.8198 GB, free: 6.582 MB / 0.5919 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.0001552/0.8705, allocations: 157.9 kB / 0.82 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.337e-05/0.8706, allocations: 34.73 kB / 0.82 GB, free: 6.418 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004518/0.871, allocations: 222 kB / 0.8202 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.8711, allocations: 2.344 kB / 0.8202 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.8711, allocations: 0 / 0.8202 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.188e-06/0.8711, allocations: 4 kB / 0.8202 GB, free: 6.285 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.8721, allocations: 0.7112 MB / 0.8209 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.8722, allocations: 2.406 kB / 0.8209 GB, free: 5.691 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001646/0.8723, allocations: 38.64 kB / 0.8209 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.687e-06/0.8723, allocations: 3.062 kB / 0.8209 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.5e-05/0.8724, allocations: 2.719 kB / 0.8209 GB, free: 5.68 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.26e-06/0.8724, allocations: 6.031 kB / 0.821 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.8724, allocations: 2.75 kB / 0.821 GB, free: 5.676 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007401/0.8731, allocations: 458.9 kB / 0.8214 GB, free: 5.336 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001071/0.8732, allocations: 124 kB / 0.8215 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.177e-05/0.8733, allocations: 4.5 kB / 0.8215 GB, free: 5.211 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001692/0.8735, allocations: 14.92 kB / 0.8215 GB, free: 5.199 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.167e-05/0.8735, allocations: 17.8 kB / 0.8215 GB, free: 5.191 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.452e-05/0.8735, allocations: 9.719 kB / 0.8216 GB, free: 5.188 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002066/0.8738, allocations: 229.6 kB / 0.8218 GB, free: 5.039 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.4e-07/0.8738, allocations: 4.062 kB / 0.8218 GB, free: 5.035 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003783/0.8741, allocations: 83.27 kB / 0.8219 GB, free: 5.02 MB / 0.5919 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.0003673/0.8745, allocations: 176.8 kB / 0.822 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.000433/0.875, allocations: 198.1 kB / 0.8222 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.875, allocations: 0 / 0.8222 GB, free: 4.801 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001849/0.8752, allocations: 93.42 kB / 0.8223 GB, free: 4.762 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008421/0.876, allocations: 165.4 kB / 0.8225 GB, free: 4.68 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001024/0.8771, allocations: 0.627 MB / 0.8231 GB, free: 4.219 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003949/0.8775, allocations: 0.7831 MB / 0.8238 GB, free: 3.477 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001904/0.8777, allocations: 66.91 kB / 0.8239 GB, free: 3.445 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.024e-05/0.8777, allocations: 29.34 kB / 0.8239 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of SimCode: time 2.41e-07/0.8777, allocations: 0 / 0.8239 GB, free: 3.434 MB / 0.5919 GB Notification: Performance of Templates: time 0.01021/0.8879, allocations: 5.841 MB / 0.8296 GB, free: 0.5742 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.pipe 2>&1)