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) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 90] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 90] 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=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") translateModel(IBPSA.Fluid.Sensors.Examples.Velocity,tolerance=1e-06,outputFormat="empty",numberOfIntervals=500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity") [Timeout 660] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001443/0.001443, allocations: 113.9 kB / 17.33 MB, free: 5.008 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.001341/0.001341, allocations: 197.8 kB / 18.33 MB, free: 4.016 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.498/1.498, allocations: 225.6 MB / 244.8 MB, free: 13.57 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8467/0.8467, allocations: 128.4 MB / 426.1 MB, free: 7.188 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 74.45 kB / 0.5912 GB, free: 21.28 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1939/0.196, allocations: 83.27 MB / 0.6725 GB, free: 3.828 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6882/0.8842, allocations: 167.9 MB / 0.8365 GB, free: 13 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.002917/0.8871, allocations: 1.562 MB / 0.838 GB, free: 11.73 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002678/0.8874, allocations: 14.81 kB / 0.838 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.0005085/0.8879, allocations: 165.2 kB / 0.8382 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.001705/0.8896, allocations: 0.7299 MB / 0.8389 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001526/0.8911, allocations: 0.6172 MB / 0.8395 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.0007956/0.8919, allocations: 0.7078 MB / 0.8402 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003295/0.8922, allocations: 201.9 kB / 0.8404 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000948/0.8932, allocations: 0.5089 MB / 0.8409 GB, free: 9.727 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003065/0.8935, allocations: 234.7 kB / 0.8411 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 3.844e-05/0.8935, allocations: 25.25 kB / 0.8411 GB, free: 9.586 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001376/0.8949, allocations: 0.9118 MB / 0.842 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0001303/0.895, allocations: 115.3 kB / 0.8421 GB, free: 8.98 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0001686/0.8952, allocations: 170 kB / 0.8423 GB, free: 8.875 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0009538/0.8961, allocations: 0.736 MB / 0.843 GB, free: 8.441 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.785e-06/0.8961, allocations: 4 kB / 0.843 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.633e-06/0.8962, allocations: 0 / 0.843 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 8.796e-06/0.8962, allocations: 0 / 0.843 GB, free: 8.438 MB / 0.6075 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.001001/0.8972, allocations: 0.6723 MB / 0.8437 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.8972, allocations: 7.688 kB / 0.8437 GB, free: 7.84 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001125/0.8983, allocations: 160.5 kB / 0.8438 GB, free: 7.762 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006259/0.8989, allocations: 333.4 kB / 0.8442 GB, free: 7.453 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.054e-05/0.899, allocations: 18.12 kB / 0.8442 GB, free: 7.445 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.336e-05/0.899, allocations: 23.47 kB / 0.8442 GB, free: 7.438 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005032/0.8995, allocations: 280.9 kB / 0.8445 GB, free: 7.246 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.8995, allocations: 3.938 kB / 0.8445 GB, free: 7.242 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.691e-05/0.8996, allocations: 14.59 kB / 0.8445 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.037e-06/0.8996, allocations: 7.688 kB / 0.8445 GB, free: 7.23 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004204/0.9, allocations: 201.7 kB / 0.8447 GB, free: 7.141 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001487/0.9015, allocations: 1.23 MB / 0.8459 GB, free: 6.004 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002707/0.9017, allocations: 133.9 kB / 0.846 GB, free: 5.926 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.9019, allocations: 100.9 kB / 0.8461 GB, free: 5.871 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005585/0.9025, allocations: 297.9 kB / 0.8464 GB, free: 5.566 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.455e-05/0.9025, allocations: 34.55 kB / 0.8464 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=17): time 1.412e-06/0.9025, allocations: 0 / 0.8464 GB, free: 5.523 MB / 0.6075 GB Notification: Performance of matching and sorting (n=17): time 0.0007421/0.9033, allocations: 297.3 kB / 0.8467 GB, free: 5.371 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.9033, allocations: 54.03 kB / 0.8468 GB, free: 5.309 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003145/0.9036, allocations: 315.7 kB / 0.8471 GB, free: 5.109 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 2.789e-05/0.9036, allocations: 32.08 kB / 0.8471 GB, free: 5.074 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.000144/0.9038, allocations: 183.7 kB / 0.8473 GB, free: 4.906 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 5.136e-05/0.9038, allocations: 71.41 kB / 0.8473 GB, free: 4.844 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.628e-05/0.9039, allocations: 51.03 kB / 0.8474 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001644/0.9041, allocations: 346.7 kB / 0.8477 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001548/0.9042, allocations: 66.17 kB / 0.8478 GB, free: 4.438 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002023/0.9044, allocations: 129.2 kB / 0.8479 GB, free: 4.344 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003482/0.9048, allocations: 190.4 kB / 0.8481 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.9048, allocations: 0 / 0.8481 GB, free: 4.223 MB / 0.6075 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004781/0.9053, allocations: 263.9 kB / 0.8483 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.9053, allocations: 8.969 kB / 0.8483 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.9053, allocations: 2.25 kB / 0.8483 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.9053, allocations: 2.625 kB / 0.8483 GB, free: 4.078 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001931/0.9055, allocations: 47.7 kB / 0.8484 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.595e-06/0.9055, allocations: 2.5 kB / 0.8484 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001878/0.9057, allocations: 32.36 kB / 0.8484 GB, free: 4.047 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.543e-05/0.9057, allocations: 15.75 kB / 0.8484 GB, free: 4.039 MB / 0.6075 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.0001536/0.9059, allocations: 154.7 kB / 0.8486 GB, free: 3.895 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.462e-05/0.9059, allocations: 35.2 kB / 0.8486 GB, free: 3.875 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004504/0.9064, allocations: 230.4 kB / 0.8488 GB, free: 3.734 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.901e-06/0.9064, allocations: 6.891 kB / 0.8489 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.9064, allocations: 0 / 0.8489 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.9064, allocations: 0 / 0.8489 GB, free: 3.73 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001054/0.9074, allocations: 0.7073 MB / 0.8495 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.9074, allocations: 0 / 0.8495 GB, free: 3.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000159/0.9076, allocations: 35.45 kB / 0.8496 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.018e-06/0.9076, allocations: 2.906 kB / 0.8496 GB, free: 3.129 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.274e-05/0.9076, allocations: 16.23 kB / 0.8496 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.9076, allocations: 4.375 kB / 0.8496 GB, free: 3.117 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.538e-06/0.9076, allocations: 10.88 kB / 0.8496 GB, free: 3.109 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006624/0.9083, allocations: 444.6 kB / 0.85 GB, free: 2.781 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000123/0.9084, allocations: 123.7 kB / 0.8502 GB, free: 2.656 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.074e-05/0.9085, allocations: 14.42 kB / 0.8502 GB, free: 2.645 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001825/0.9087, allocations: 9.375 kB / 0.8502 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.9087, allocations: 15.02 kB / 0.8502 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.15e-05/0.9087, allocations: 5.906 kB / 0.8502 GB, free: 2.633 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0002243/0.9089, allocations: 233 kB / 0.8504 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.01e-07/0.9089, allocations: 3 kB / 0.8504 GB, free: 2.484 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0003755/0.9093, allocations: 79.67 kB / 0.8505 GB, free: 2.473 MB / 0.6075 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.0004114/0.9097, allocations: 166.3 kB / 0.8507 GB, free: 2.348 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000421/0.9101, allocations: 185.4 kB / 0.8508 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9102, allocations: 0 / 0.8508 GB, free: 2.266 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001832/0.9103, allocations: 92.16 kB / 0.8509 GB, free: 2.223 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008185/0.9112, allocations: 179.7 kB / 0.8511 GB, free: 2.129 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009968/0.9121, allocations: 0.6402 MB / 0.8517 GB, free: 1.656 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004309/0.9126, allocations: 0.7812 MB / 0.8525 GB, free: 0.9141 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0001714/0.9128, allocations: 62.69 kB / 0.8525 GB, free: 0.8906 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.905e-05/0.9128, allocations: 29.08 kB / 0.8526 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of SimCode: time 2.9e-07/0.9128, allocations: 0 / 0.8526 GB, free: 0.8789 MB / 0.6075 GB Notification: Performance of Templates: time 0.01141/0.9242, allocations: 5.907 MB / 0.8583 GB, free: 13.23 MB / 0.6231 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.Velocity.makefile [Timeout 660] (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) [Timeout 480]