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/Complex 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) 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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) 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/Complex 4.0.0+maint.om/package.mo): time 0.001197/0.001197, allocations: 185.1 kB / 16.63 MB, free: 5.117 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.467/0.467, allocations: 87.51 MB / 104.9 MB, free: 13.01 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.399/1.399, allocations: 222.9 MB / 349.1 MB, free: 2.754 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001/0.001, allocations: 120.2 kB / 420 MB, free: 8.5 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0009638/0.0009638, allocations: 47.92 kB / 0.4891 GB, free: 7.711 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3283, allocations: 70.07 MB / 0.5575 GB, free: 44.81 MB / 410.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5374/0.8658, allocations: 165.1 MB / 0.7187 GB, free: 1.645 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.003232/0.8691, allocations: 1.57 MB / 0.7203 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004194/0.8695, allocations: 16.16 kB / 0.7203 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0005348/0.8701, allocations: 116.2 kB / 0.7204 GB, free: 1.602 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00191/0.872, allocations: 0.6685 MB / 0.7211 GB, free: 1.57 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.001732/0.8738, allocations: 0.55 MB / 0.7216 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.001397/0.8752, allocations: 0.992 MB / 0.7226 GB, free: 1.551 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003624/0.8755, allocations: 208.3 kB / 0.7228 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007144/0.8763, allocations: 321.4 kB / 0.7231 GB, free: 1.523 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003453/0.8766, allocations: 243.9 kB / 0.7233 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 3.914e-05/0.8767, allocations: 13.53 kB / 0.7233 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00185/0.8785, allocations: 1.015 MB / 0.7243 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 0.0001315/0.8787, allocations: 102 kB / 0.7244 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 0.00019/0.8789, allocations: 160.4 kB / 0.7246 GB, free: 1.508 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.00111/0.88, allocations: 0.7733 MB / 0.7253 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.88, allocations: 0 / 0.7253 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.122e-06/0.88, allocations: 0 / 0.7253 GB, free: 1.469 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 1.281e-05/0.88, allocations: 2.094 kB / 0.7253 GB, free: 1.469 MB / 0.5105 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.001087/0.8811, allocations: 0.6665 MB / 0.726 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.274e-05/0.8812, allocations: 10.38 kB / 0.726 GB, free: 16.97 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001096/0.8823, allocations: 159.8 kB / 0.7261 GB, free: 16.95 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004366/0.8827, allocations: 314.2 kB / 0.7264 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.192e-05/0.8828, allocations: 18.41 kB / 0.7264 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.409e-05/0.8828, allocations: 22.31 kB / 0.7265 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005055/0.8833, allocations: 285.2 kB / 0.7267 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.388e-05/0.8834, allocations: 1.312 kB / 0.7267 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.507e-05/0.8834, allocations: 10.88 kB / 0.7268 GB, free: 16.64 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.183e-05/0.8834, allocations: 8.438 kB / 0.7268 GB, free: 16.63 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004106/0.8838, allocations: 210.2 kB / 0.727 GB, free: 16.63 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.001435/0.8853, allocations: 1.221 MB / 0.7282 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002752/0.8856, allocations: 144.2 kB / 0.7283 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001791/0.8858, allocations: 96.16 kB / 0.7284 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006542/0.8864, allocations: 302 kB / 0.7287 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.656e-05/0.8865, allocations: 41.14 kB / 0.7287 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=17): time 3.226e-06/0.8865, allocations: 0 / 0.7287 GB, free: 15.43 MB / 0.5261 GB Notification: Performance of matching and sorting (n=17): time 0.0007565/0.8872, allocations: 301.1 kB / 0.729 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.582e-05/0.8873, allocations: 53.88 kB / 0.729 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003212/0.8876, allocations: 319.8 kB / 0.7294 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.692e-05/0.8876, allocations: 29.98 kB / 0.7294 GB, free: 15.18 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001451/0.8878, allocations: 189.8 kB / 0.7296 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.73e-05/0.8879, allocations: 58.58 kB / 0.7296 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.888, allocations: 48.39 kB / 0.7297 GB, free: 15.01 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001418/0.8881, allocations: 342.5 kB / 0.73 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001558/0.8883, allocations: 66.84 kB / 0.7301 GB, free: 14.7 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001995/0.8885, allocations: 130.7 kB / 0.7302 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003275/0.8888, allocations: 192.8 kB / 0.7304 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.444e-06/0.8888, allocations: 1.094 kB / 0.7304 GB, free: 14.6 MB / 0.5261 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004393/0.8893, allocations: 260.1 kB / 0.7306 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.848e-05/0.8893, allocations: 6.062 kB / 0.7306 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.034e-06/0.8893, allocations: 3.344 kB / 0.7306 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.006e-05/0.8893, allocations: 6.984 kB / 0.7306 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000207/0.8895, allocations: 47.58 kB / 0.7307 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.8896, allocations: 3.188 kB / 0.7307 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002222/0.8898, allocations: 39.95 kB / 0.7307 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.995e-05/0.8898, allocations: 10.56 kB / 0.7307 GB, free: 14.52 MB / 0.5261 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.0001413/0.89, allocations: 149.6 kB / 0.7309 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-05/0.89, allocations: 31.78 kB / 0.7309 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005037/0.8905, allocations: 234.8 kB / 0.7311 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.8906, allocations: 5.875 kB / 0.7311 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.8906, allocations: 3.312 kB / 0.7311 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.367e-06/0.8906, allocations: 0 / 0.7311 GB, free: 14.34 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009941/0.8916, allocations: 0.7045 MB / 0.7318 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.607e-06/0.8916, allocations: 1.75 kB / 0.7318 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.8918, allocations: 41.53 kB / 0.7319 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.277e-06/0.8918, allocations: 0 / 0.7319 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.828e-05/0.8918, allocations: 5.438 kB / 0.7319 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.577e-06/0.8918, allocations: 3.859 kB / 0.7319 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.948e-06/0.8918, allocations: 5.531 kB / 0.7319 GB, free: 13.97 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004636/0.8965, allocations: 2.055 MB / 0.7339 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001461/0.8966, allocations: 120.5 kB / 0.734 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.8967, allocations: 14.3 kB / 0.734 GB, free: 12.75 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001977/0.8969, allocations: 19.48 kB / 0.734 GB, free: 12.74 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.583e-05/0.897, allocations: 17.16 kB / 0.734 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.015e-05/0.897, allocations: 9.734 kB / 0.7341 GB, free: 12.73 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0003121/0.8973, allocations: 238.6 kB / 0.7343 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8973, allocations: 0 / 0.7343 GB, free: 12.65 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006654/0.898, allocations: 112.9 kB / 0.7344 GB, free: 12.64 MB / 0.5261 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.0004658/0.8985, allocations: 162.8 kB / 0.7345 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004177/0.8989, allocations: 177 kB / 0.7347 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.8989, allocations: 0 / 0.7347 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001869/0.8991, allocations: 100.1 kB / 0.7348 GB, free: 12.54 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008925/0.9, allocations: 164 kB / 0.735 GB, free: 12.52 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001384/0.9014, allocations: 0.8805 MB / 0.7358 GB, free: 11.94 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000443/0.9018, allocations: 0.7914 MB / 0.7366 GB, free: 11.23 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 0.0002476/0.9021, allocations: 70.91 kB / 0.7367 GB, free: 11.22 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.356e-05/0.9022, allocations: 25.44 kB / 0.7367 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of SimCode: time 3.6e-07/0.9022, allocations: 1.203 kB / 0.7367 GB, free: 11.21 MB / 0.5261 GB Notification: Performance of Templates: time 0.01098/0.9132, allocations: 5.694 MB / 0.7423 GB, free: 10.86 MB / 0.5261 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)