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.001122/0.001123, allocations: 116.9 kB / 17.09 MB, free: 5.957 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.001189/0.001189, allocations: 198.9 kB / 18.02 MB, free: 5.047 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6904/0.6904, allocations: 115.3 MB / 407.2 MB, free: 6.129 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 68.61 kB / 0.5584 GB, free: 32.23 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1363, allocations: 76.18 MB / 0.6327 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.5496/0.686, allocations: 167.4 MB / 0.7962 GB, free: 12.99 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003169/0.6892, allocations: 1.559 MB / 0.7977 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006421/0.6899, allocations: 15.97 kB / 0.7977 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006091/0.6905, allocations: 151.1 kB / 0.7979 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002131/0.6926, allocations: 0.7011 MB / 0.7986 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001788/0.6945, allocations: 0.6037 MB / 0.7992 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001058/0.6955, allocations: 0.7191 MB / 0.7999 GB, free: 12.4 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005117/0.6961, allocations: 234.3 kB / 0.8001 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009653/0.697, allocations: 359 kB / 0.8004 GB, free: 12.33 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005024/0.6976, allocations: 220.8 kB / 0.8006 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 7.401e-05/0.6977, allocations: 23.81 kB / 0.8007 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001696/0.6994, allocations: 0.8685 MB / 0.8015 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001725/0.6995, allocations: 114 kB / 0.8016 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002884/0.6998, allocations: 172.1 kB / 0.8018 GB, free: 12.22 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.7014, allocations: 0.7288 MB / 0.8025 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 5.159e-06/0.7014, allocations: 1.734 kB / 0.8025 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.246e-06/0.7014, allocations: 2.344 kB / 0.8025 GB, free: 12.13 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.204e-05/0.7014, allocations: 7.938 kB / 0.8025 GB, free: 12.12 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.001277/0.7027, allocations: 0.6546 MB / 0.8031 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.134e-05/0.7027, allocations: 9.906 kB / 0.8032 GB, free: 11.63 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001198/0.7039, allocations: 155.8 kB / 0.8033 GB, free: 11.61 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005838/0.7045, allocations: 329.2 kB / 0.8036 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.082e-05/0.7046, allocations: 17 kB / 0.8036 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.502e-05/0.7046, allocations: 29.5 kB / 0.8037 GB, free: 11.37 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004962/0.7051, allocations: 289.5 kB / 0.8039 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.294e-05/0.7051, allocations: 2.969 kB / 0.8039 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.32e-05/0.7052, allocations: 10.81 kB / 0.8039 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.017e-06/0.7052, allocations: 6.875 kB / 0.804 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000382/0.7056, allocations: 201.1 kB / 0.8041 GB, free: 11.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.001453/0.707, allocations: 1.225 MB / 0.8053 GB, free: 10.42 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002644/0.7073, allocations: 156.3 kB / 0.8055 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001609/0.7075, allocations: 94.56 kB / 0.8056 GB, free: 10.38 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005731/0.7081, allocations: 306.4 kB / 0.8059 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.572e-05/0.7081, allocations: 35.75 kB / 0.8059 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.552e-06/0.7081, allocations: 0 / 0.8059 GB, free: 10.05 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007478/0.7089, allocations: 292.1 kB / 0.8062 GB, free: 9.996 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.918e-05/0.7089, allocations: 57.94 kB / 0.8062 GB, free: 9.93 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000315/0.7092, allocations: 323.9 kB / 0.8066 GB, free: 9.777 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.632e-05/0.7093, allocations: 36.16 kB / 0.8066 GB, free: 9.742 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001292/0.7094, allocations: 178.4 kB / 0.8068 GB, free: 9.629 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.695e-05/0.7095, allocations: 61.25 kB / 0.8068 GB, free: 9.582 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.703e-05/0.7095, allocations: 45.2 kB / 0.8069 GB, free: 9.562 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.7097, allocations: 339.8 kB / 0.8072 GB, free: 9.242 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.7098, allocations: 75.16 kB / 0.8073 GB, free: 9.223 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001925/0.71, allocations: 125 kB / 0.8074 GB, free: 9.156 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003163/0.7103, allocations: 194.5 kB / 0.8076 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.7104, allocations: 3.938 kB / 0.8076 GB, free: 9.078 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004405/0.7108, allocations: 259 kB / 0.8078 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.7108, allocations: 5.156 kB / 0.8078 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.59e-06/0.7108, allocations: 0 / 0.8078 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.7109, allocations: 6.625 kB / 0.8078 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001966/0.7111, allocations: 46.36 kB / 0.8079 GB, free: 8.977 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.317e-06/0.7111, allocations: 6.594 kB / 0.8079 GB, free: 8.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.7113, allocations: 35.92 kB / 0.8079 GB, free: 8.953 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.509e-05/0.7113, allocations: 10.77 kB / 0.8079 GB, free: 8.949 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.0001409/0.7115, allocations: 154.8 kB / 0.8081 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.504e-05/0.7115, allocations: 28.25 kB / 0.8081 GB, free: 8.809 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004348/0.712, allocations: 232.3 kB / 0.8083 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.712, allocations: 2.594 kB / 0.8083 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.712, allocations: 0 / 0.8083 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.308e-05/0.712, allocations: 0 / 0.8083 GB, free: 8.723 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001023/0.713, allocations: 0.7164 MB / 0.809 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.7131, allocations: 3.438 kB / 0.809 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000166/0.7132, allocations: 38.62 kB / 0.8091 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.649e-06/0.7132, allocations: 2.688 kB / 0.8091 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.548e-05/0.7133, allocations: 2.562 kB / 0.8091 GB, free: 8.227 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.716e-06/0.7133, allocations: 11.72 kB / 0.8091 GB, free: 8.219 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.7133, allocations: 5.781 kB / 0.8091 GB, free: 8.215 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000588/0.7139, allocations: 448.8 kB / 0.8095 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.714, allocations: 122 kB / 0.8096 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.579e-05/0.7141, allocations: 6.406 kB / 0.8096 GB, free: 7.844 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001655/0.7142, allocations: 16.48 kB / 0.8096 GB, free: 7.836 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/0.7143, allocations: 18.52 kB / 0.8097 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.117e-05/0.7143, allocations: 7.562 kB / 0.8097 GB, free: 7.828 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002036/0.7145, allocations: 230.5 kB / 0.8099 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7145, allocations: 0 / 0.8099 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003959/0.7149, allocations: 86.5 kB / 0.81 GB, free: 7.707 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.0003796/0.7153, allocations: 159.5 kB / 0.8101 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004077/0.7157, allocations: 181.3 kB / 0.8103 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.7157, allocations: 2.844 kB / 0.8103 GB, free: 7.555 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001775/0.7159, allocations: 94.3 kB / 0.8104 GB, free: 7.531 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008136/0.7167, allocations: 178.8 kB / 0.8106 GB, free: 7.465 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001051/0.7178, allocations: 0.6504 MB / 0.8112 GB, free: 7.035 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.7181, allocations: 0.7898 MB / 0.812 GB, free: 6.289 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.782e-05/0.7182, allocations: 25 kB / 0.812 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of SimCode: time 1.8e-07/0.7182, allocations: 0 / 0.812 GB, free: 6.281 MB / 0.5919 GB Notification: Performance of Templates: time 0.0084/0.7266, allocations: 5.011 MB / 0.8169 GB, free: 3.738 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)