Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.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.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 99.84 kB / 16.4 MB, free: 6.461 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.001462/0.001462, allocations: 196 kB / 17.34 MB, free: 5.719 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.467/1.467, allocations: 222.9 MB / 241 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.7641/0.7641, allocations: 115.3 MB / 406.5 MB, free: 6.152 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 70.02 kB / 0.5577 GB, free: 32.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1867/0.1879, allocations: 76.19 MB / 0.6321 GB, free: 4.387 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.6989/0.8869, allocations: 167.3 MB / 0.7955 GB, free: 13.03 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.003115/0.89, allocations: 1.552 MB / 0.797 GB, free: 12.87 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003871/0.8904, allocations: 18.66 kB / 0.797 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005809/0.891, allocations: 157.5 kB / 0.7972 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.002119/0.8932, allocations: 0.6911 MB / 0.7979 GB, free: 12.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001873/0.8951, allocations: 0.6073 MB / 0.7984 GB, free: 12.55 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0008214/0.8959, allocations: 0.695 MB / 0.7991 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003831/0.8963, allocations: 227.9 kB / 0.7993 GB, free: 12.42 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005474/0.8969, allocations: 337.5 kB / 0.7997 GB, free: 12.38 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002526/0.8971, allocations: 220.8 kB / 0.7999 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.344e-05/0.8972, allocations: 23.59 kB / 0.7999 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0015/0.8987, allocations: 0.871 MB / 0.8008 GB, free: 12.29 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001301/0.8989, allocations: 110.9 kB / 0.8009 GB, free: 12.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001769/0.899, allocations: 167 kB / 0.801 GB, free: 12.27 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001134/0.9002, allocations: 0.7237 MB / 0.8017 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.609e-06/0.9002, allocations: 0 / 0.8017 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of FrontEnd: time 2.865e-06/0.9002, allocations: 0 / 0.8017 GB, free: 12.18 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 9.358e-06/0.9002, allocations: 0 / 0.8017 GB, free: 12.18 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: 53 * Number of variables: 53 Notification: Performance of Generate backend data structure: time 0.001075/0.9013, allocations: 0.6512 MB / 0.8024 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.61e-05/0.9013, allocations: 10.09 kB / 0.8024 GB, free: 11.69 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001178/0.9025, allocations: 149.7 kB / 0.8025 GB, free: 11.67 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000573/0.9031, allocations: 324.2 kB / 0.8028 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.022e-05/0.9031, allocations: 17.34 kB / 0.8028 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.734e-05/0.9032, allocations: 21.97 kB / 0.8029 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004712/0.9037, allocations: 275.8 kB / 0.8031 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.468e-05/0.9037, allocations: 6.219 kB / 0.8031 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.444e-05/0.9037, allocations: 13.34 kB / 0.8031 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.167e-05/0.9038, allocations: 7.812 kB / 0.8031 GB, free: 11.34 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003751/0.9041, allocations: 195.8 kB / 0.8033 GB, free: 11.34 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.001467/0.9056, allocations: 1.204 MB / 0.8045 GB, free: 10.49 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002653/0.9059, allocations: 133 kB / 0.8046 GB, free: 10.47 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001696/0.9061, allocations: 99.81 kB / 0.8047 GB, free: 10.45 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005677/0.9066, allocations: 297.9 kB / 0.805 GB, free: 10.17 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.142e-05/0.9067, allocations: 43.28 kB / 0.8051 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.302e-06/0.9067, allocations: 0 / 0.8051 GB, free: 10.12 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0007478/0.9075, allocations: 282.7 kB / 0.8053 GB, free: 10.07 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.9076, allocations: 54.16 kB / 0.8054 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002984/0.9079, allocations: 318.1 kB / 0.8057 GB, free: 9.887 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.262e-05/0.9079, allocations: 25.7 kB / 0.8057 GB, free: 9.855 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001383/0.908, allocations: 187.4 kB / 0.8059 GB, free: 9.73 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 4.216e-05/0.9081, allocations: 53.98 kB / 0.8059 GB, free: 9.691 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.582e-05/0.9082, allocations: 46.3 kB / 0.806 GB, free: 9.668 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.000189/0.9084, allocations: 340.9 kB / 0.8063 GB, free: 9.344 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001569/0.9085, allocations: 68.2 kB / 0.8064 GB, free: 9.328 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002106/0.9088, allocations: 128.6 kB / 0.8065 GB, free: 9.254 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003299/0.9091, allocations: 181.5 kB / 0.8067 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.9091, allocations: 0 / 0.8067 GB, free: 9.184 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000429/0.9095, allocations: 245.5 kB / 0.8069 GB, free: 9.098 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.024e-05/0.9096, allocations: 8.797 kB / 0.8069 GB, free: 9.094 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.796e-06/0.9096, allocations: 6.578 kB / 0.8069 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.9096, allocations: 2.125 kB / 0.8069 GB, free: 9.09 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001926/0.9098, allocations: 41.08 kB / 0.807 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.267e-06/0.9098, allocations: 1.938 kB / 0.807 GB, free: 9.082 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001965/0.91, allocations: 33.48 kB / 0.807 GB, free: 9.062 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.971e-05/0.9101, allocations: 15.31 kB / 0.807 GB, free: 9.059 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 (22): * Single equations (assignments): 22 * 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.0001474/0.9102, allocations: 155.9 kB / 0.8072 GB, free: 8.93 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.246e-05/0.9103, allocations: 28.69 kB / 0.8072 GB, free: 8.914 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004517/0.9107, allocations: 213 kB / 0.8074 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.427e-06/0.9107, allocations: 0 / 0.8074 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.929e-06/0.9108, allocations: 2.219 kB / 0.8074 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.398e-06/0.9108, allocations: 0 / 0.8074 GB, free: 8.84 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001022/0.9118, allocations: 0.6926 MB / 0.8081 GB, free: 8.363 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.9118, allocations: 4.031 kB / 0.8081 GB, free: 8.359 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000152/0.912, allocations: 29.02 kB / 0.8081 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.617e-06/0.912, allocations: 2.562 kB / 0.8081 GB, free: 8.355 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.912, allocations: 10.33 kB / 0.8081 GB, free: 8.348 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.053e-06/0.912, allocations: 9.812 kB / 0.8081 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.912, allocations: 0 / 0.8081 GB, free: 8.344 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00064/0.9127, allocations: 431.5 kB / 0.8085 GB, free: 8.098 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001305/0.9128, allocations: 130.6 kB / 0.8087 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.42e-05/0.9129, allocations: 6.656 kB / 0.8087 GB, free: 7.969 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001637/0.913, allocations: 17.3 kB / 0.8087 GB, free: 7.961 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.808e-05/0.9131, allocations: 15.14 kB / 0.8087 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.065e-05/0.9131, allocations: 4.688 kB / 0.8087 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0002261/0.9133, allocations: 224.3 kB / 0.8089 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9133, allocations: 0 / 0.8089 GB, free: 7.848 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.000403/0.9138, allocations: 80.09 kB / 0.809 GB, free: 7.84 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 (15): * Single equations (assignments): 15 * 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.0004259/0.9142, allocations: 168.9 kB / 0.8091 GB, free: 7.719 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0004681/0.9147, allocations: 174.3 kB / 0.8093 GB, free: 7.684 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.9147, allocations: 4.188 kB / 0.8093 GB, free: 7.68 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001764/0.9149, allocations: 88.19 kB / 0.8094 GB, free: 7.656 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008427/0.9157, allocations: 175.9 kB / 0.8096 GB, free: 7.582 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00105/0.9168, allocations: 0.5777 MB / 0.8101 GB, free: 7.207 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005425/0.9173, allocations: 0.7835 MB / 0.8109 GB, free: 6.465 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001891/0.9175, allocations: 63.78 kB / 0.811 GB, free: 6.438 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.727e-05/0.9176, allocations: 26.66 kB / 0.811 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of SimCode: time 2e-07/0.9176, allocations: 0 / 0.811 GB, free: 6.43 MB / 0.5919 GB Notification: Performance of Templates: time 0.01254/0.9301, allocations: 5.773 MB / 0.8166 GB, free: 3.617 MB / 0.5919 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)