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.001416/0.001416, allocations: 117 kB / 17.08 MB, free: 5.832 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.001448/0.001448, allocations: 192.7 kB / 18.02 MB, free: 4.965 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.441/1.441, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7609/0.7609, allocations: 115.3 MB / 407.2 MB, free: 6.105 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001301/0.001301, allocations: 67.69 kB / 0.5584 GB, free: 32.3 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1765/0.1778, allocations: 76.18 MB / 0.6328 GB, free: 4.371 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.Velocity): time 0.6413/0.8192, allocations: 167.4 MB / 0.7962 GB, free: 13 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002902/0.8222, allocations: 1.558 MB / 0.7977 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000411/0.8226, allocations: 11.19 kB / 0.7977 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005146/0.8231, allocations: 157.2 kB / 0.7979 GB, free: 12.76 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001894/0.8251, allocations: 0.698 MB / 0.7986 GB, free: 12.6 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001697/0.8268, allocations: 0.6119 MB / 0.7992 GB, free: 12.52 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0009257/0.8277, allocations: 0.7152 MB / 0.7999 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003793/0.8281, allocations: 239.4 kB / 0.8001 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006569/0.8288, allocations: 345.1 kB / 0.8004 GB, free: 12.34 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002699/0.8291, allocations: 229.8 kB / 0.8006 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.519e-05/0.8291, allocations: 23.38 kB / 0.8007 GB, free: 12.32 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.8307, allocations: 0.8719 MB / 0.8015 GB, free: 12.24 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001252/0.8308, allocations: 111 kB / 0.8016 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001825/0.831, allocations: 172.2 kB / 0.8018 GB, free: 12.23 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001023/0.832, allocations: 0.7328 MB / 0.8025 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.548e-06/0.832, allocations: 0 / 0.8025 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.623e-06/0.832, allocations: 0 / 0.8025 GB, free: 12.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.704e-06/0.832, allocations: 0 / 0.8025 GB, free: 12.14 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.0009685/0.833, allocations: 0.6644 MB / 0.8031 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.8331, allocations: 10.09 kB / 0.8032 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001113/0.8342, allocations: 155.4 kB / 0.8033 GB, free: 11.62 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005013/0.8347, allocations: 328.3 kB / 0.8036 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.093e-05/0.8347, allocations: 17.56 kB / 0.8036 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.612e-05/0.8348, allocations: 29.34 kB / 0.8037 GB, free: 11.38 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000473/0.8353, allocations: 280.9 kB / 0.8039 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.8353, allocations: 3.938 kB / 0.8039 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.398e-05/0.8353, allocations: 8.969 kB / 0.8039 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.8353, allocations: 10.36 kB / 0.804 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000384/0.8357, allocations: 198.4 kB / 0.8041 GB, free: 11.29 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.001357/0.8371, allocations: 1.222 MB / 0.8053 GB, free: 10.43 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002768/0.8374, allocations: 161 kB / 0.8055 GB, free: 10.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001662/0.8375, allocations: 91.03 kB / 0.8056 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005452/0.8381, allocations: 310.2 kB / 0.8059 GB, free: 10.1 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.8381, allocations: 37.09 kB / 0.8059 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=17): time 1.473e-06/0.8381, allocations: 0 / 0.8059 GB, free: 10.06 MB / 0.5919 GB Notification: Performance of matching and sorting (n=17): time 0.0007423/0.8389, allocations: 289.7 kB / 0.8062 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.12e-05/0.8389, allocations: 54.44 kB / 0.8062 GB, free: 9.949 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003108/0.8393, allocations: 334.5 kB / 0.8066 GB, free: 9.789 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.448e-05/0.8393, allocations: 28.48 kB / 0.8066 GB, free: 9.758 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.8394, allocations: 183 kB / 0.8068 GB, free: 9.641 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 5.094e-05/0.8395, allocations: 61.45 kB / 0.8068 GB, free: 9.594 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.194e-05/0.8396, allocations: 44.3 kB / 0.8069 GB, free: 9.574 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001255/0.8397, allocations: 340.4 kB / 0.8072 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001545/0.8399, allocations: 74.55 kB / 0.8073 GB, free: 9.234 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001948/0.8401, allocations: 124.6 kB / 0.8074 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000348/0.8404, allocations: 200.5 kB / 0.8076 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/0.8404, allocations: 0 / 0.8076 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004611/0.8409, allocations: 255.1 kB / 0.8078 GB, free: 9 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.928e-05/0.8409, allocations: 9.656 kB / 0.8078 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.8409, allocations: 0 / 0.8078 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.036e-05/0.841, allocations: 2.781 kB / 0.8078 GB, free: 9 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001993/0.8412, allocations: 46.97 kB / 0.8079 GB, free: 8.988 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.007e-06/0.8412, allocations: 7.969 kB / 0.8079 GB, free: 8.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001966/0.8414, allocations: 33.45 kB / 0.8079 GB, free: 8.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.885e-05/0.8414, allocations: 14.12 kB / 0.8079 GB, free: 8.965 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.00014/0.8416, allocations: 152.9 kB / 0.8081 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.265e-05/0.8416, allocations: 31.34 kB / 0.8081 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004563/0.8421, allocations: 226.1 kB / 0.8083 GB, free: 8.742 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.597e-06/0.8421, allocations: 4 kB / 0.8083 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.8421, allocations: 2.562 kB / 0.8083 GB, free: 8.738 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.132e-06/0.8421, allocations: 4.125 kB / 0.8083 GB, free: 8.734 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009872/0.8431, allocations: 0.7102 MB / 0.809 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.8431, allocations: 2.562 kB / 0.809 GB, free: 8.25 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001675/0.8433, allocations: 34.92 kB / 0.809 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.108e-06/0.8433, allocations: 2.719 kB / 0.809 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.8433, allocations: 2.75 kB / 0.8091 GB, free: 8.246 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.015e-06/0.8433, allocations: 10.27 kB / 0.8091 GB, free: 8.238 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.5e-06/0.8433, allocations: 6.625 kB / 0.8091 GB, free: 8.234 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000634/0.844, allocations: 449.7 kB / 0.8095 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.8441, allocations: 126.1 kB / 0.8096 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.54e-05/0.8442, allocations: 8.438 kB / 0.8096 GB, free: 7.859 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.8443, allocations: 16.67 kB / 0.8096 GB, free: 7.852 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.987e-05/0.8444, allocations: 11.42 kB / 0.8097 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.228e-05/0.8444, allocations: 8.406 kB / 0.8097 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002136/0.8446, allocations: 234.1 kB / 0.8099 GB, free: 7.734 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8446, allocations: 3.938 kB / 0.8099 GB, free: 7.73 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003951/0.845, allocations: 93.08 kB / 0.81 GB, free: 7.715 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.0003932/0.8454, allocations: 151.2 kB / 0.8101 GB, free: 7.609 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004021/0.8459, allocations: 185.9 kB / 0.8103 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.8459, allocations: 0 / 0.8103 GB, free: 7.57 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001797/0.8461, allocations: 89.73 kB / 0.8104 GB, free: 7.551 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000874/0.8469, allocations: 186.2 kB / 0.8106 GB, free: 7.48 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009876/0.8479, allocations: 0.6565 MB / 0.8112 GB, free: 7.047 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003363/0.8483, allocations: 0.7798 MB / 0.812 GB, free: 6.305 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.512e-05/0.8484, allocations: 27.31 kB / 0.812 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of SimCode: time 2.4e-07/0.8484, allocations: 0 / 0.812 GB, free: 6.297 MB / 0.5919 GB Notification: Performance of Templates: time 0.007465/0.8558, allocations: 4.973 MB / 0.8168 GB, free: 3.777 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)