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.001045/0.001045, allocations: 104.2 kB / 16.4 MB, free: 6.492 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.001221/0.001221, allocations: 189.2 kB / 17.34 MB, free: 5.766 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.272/1.272, allocations: 222.9 MB / 241 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.697/0.697, allocations: 115.3 MB / 406.5 MB, free: 6.18 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001284/0.001284, allocations: 67.39 kB / 0.5577 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1292/0.1305, allocations: 76.17 MB / 0.6321 GB, free: 4.391 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4925/0.623, allocations: 167.3 MB / 0.7955 GB, free: 13.45 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.002356/0.6254, allocations: 1.557 MB / 0.797 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002294/0.6257, allocations: 11.53 kB / 0.797 GB, free: 13.28 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0004755/0.6262, allocations: 145.5 kB / 0.7972 GB, free: 13.21 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001416/0.6276, allocations: 0.7 MB / 0.7979 GB, free: 13.05 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001245/0.6289, allocations: 0.6045 MB / 0.7984 GB, free: 12.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0006148/0.6295, allocations: 0.7028 MB / 0.7991 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003184/0.6298, allocations: 224.2 kB / 0.7993 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005967/0.6305, allocations: 341.4 kB / 0.7997 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002867/0.6308, allocations: 217.7 kB / 0.7999 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 4.695e-05/0.6308, allocations: 23.5 kB / 0.7999 GB, free: 12.79 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0012/0.632, allocations: 0.8666 MB / 0.8007 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0001037/0.6321, allocations: 109.6 kB / 0.8008 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0001435/0.6323, allocations: 165.4 kB / 0.801 GB, free: 12.69 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0008237/0.6331, allocations: 0.7335 MB / 0.8017 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.6331, allocations: 0 / 0.8017 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.473e-06/0.6331, allocations: 0 / 0.8017 GB, free: 12.59 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 7.174e-06/0.6331, allocations: 0 / 0.8017 GB, free: 12.59 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.0008232/0.634, allocations: 0.6409 MB / 0.8023 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.634, allocations: 12.55 kB / 0.8024 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001053/0.6351, allocations: 150.4 kB / 0.8025 GB, free: 12.09 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004445/0.6355, allocations: 323.9 kB / 0.8028 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6356, allocations: 17.19 kB / 0.8028 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.138e-05/0.6356, allocations: 21.38 kB / 0.8028 GB, free: 11.84 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004432/0.6361, allocations: 284.1 kB / 0.8031 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.131e-05/0.6361, allocations: 3.938 kB / 0.8031 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.29e-05/0.6361, allocations: 11.59 kB / 0.8031 GB, free: 11.76 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.434e-06/0.6361, allocations: 9.219 kB / 0.8031 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003595/0.6365, allocations: 193.6 kB / 0.8033 GB, free: 11.75 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.001197/0.6377, allocations: 1.21 MB / 0.8045 GB, free: 10.9 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002446/0.6379, allocations: 136.9 kB / 0.8046 GB, free: 10.88 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.6381, allocations: 93.3 kB / 0.8047 GB, free: 10.87 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005112/0.6386, allocations: 301.1 kB / 0.805 GB, free: 10.58 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.711e-05/0.6387, allocations: 42.28 kB / 0.8051 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=15): time 1.332e-06/0.6387, allocations: 0 / 0.8051 GB, free: 10.54 MB / 0.5919 GB Notification: Performance of matching and sorting (n=15): time 0.0006852/0.6394, allocations: 284.8 kB / 0.8053 GB, free: 10.48 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.258e-05/0.6394, allocations: 57.91 kB / 0.8054 GB, free: 10.41 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002651/0.6397, allocations: 310.4 kB / 0.8057 GB, free: 10.3 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 2.368e-05/0.6397, allocations: 33.25 kB / 0.8057 GB, free: 10.27 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001201/0.6398, allocations: 181.6 kB / 0.8059 GB, free: 10.15 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 3.559e-05/0.6399, allocations: 49.12 kB / 0.8059 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.544e-05/0.64, allocations: 48.58 kB / 0.806 GB, free: 10.09 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001095/0.6401, allocations: 344.4 kB / 0.8063 GB, free: 9.762 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001494/0.6402, allocations: 64.39 kB / 0.8064 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001804/0.6404, allocations: 123 kB / 0.8065 GB, free: 9.684 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003094/0.6407, allocations: 187.7 kB / 0.8067 GB, free: 9.609 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.638e-06/0.6407, allocations: 3.984 kB / 0.8067 GB, free: 9.605 MB / 0.5919 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003999/0.6411, allocations: 238.2 kB / 0.8069 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.254e-05/0.6412, allocations: 9.156 kB / 0.8069 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.222e-06/0.6412, allocations: 1.781 kB / 0.8069 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.6412, allocations: 2.75 kB / 0.8069 GB, free: 9.52 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.6414, allocations: 38.58 kB / 0.8069 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.228e-06/0.6414, allocations: 4.406 kB / 0.807 GB, free: 9.512 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001804/0.6416, allocations: 33.08 kB / 0.807 GB, free: 9.492 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.271e-05/0.6416, allocations: 9.062 kB / 0.807 GB, free: 9.492 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.0001325/0.6418, allocations: 162.3 kB / 0.8071 GB, free: 9.359 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.867e-05/0.6418, allocations: 32.59 kB / 0.8072 GB, free: 9.34 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004073/0.6422, allocations: 217.4 kB / 0.8074 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6422, allocations: 1.938 kB / 0.8074 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.6422, allocations: 2.906 kB / 0.8074 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.427e-06/0.6422, allocations: 0 / 0.8074 GB, free: 9.262 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008748/0.6431, allocations: 0.6877 MB / 0.8081 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6431, allocations: 0 / 0.8081 GB, free: 8.789 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001552/0.6433, allocations: 33.28 kB / 0.8081 GB, free: 8.781 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.547e-06/0.6433, allocations: 6.609 kB / 0.8081 GB, free: 8.777 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.628e-05/0.6433, allocations: 10.66 kB / 0.8081 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.645e-06/0.6433, allocations: 1.812 kB / 0.8081 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.854e-06/0.6433, allocations: 2.906 kB / 0.8081 GB, free: 8.77 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005731/0.6439, allocations: 431 kB / 0.8085 GB, free: 8.52 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001019/0.644, allocations: 130.6 kB / 0.8086 GB, free: 8.395 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.334e-05/0.6441, allocations: 8.5 kB / 0.8087 GB, free: 8.391 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001651/0.6443, allocations: 12.7 kB / 0.8087 GB, free: 8.387 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.198e-05/0.6443, allocations: 16.77 kB / 0.8087 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.194e-05/0.6443, allocations: 8.281 kB / 0.8087 GB, free: 8.379 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0001776/0.6445, allocations: 227 kB / 0.8089 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6445, allocations: 0 / 0.8089 GB, free: 8.27 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0003438/0.6449, allocations: 76.78 kB / 0.809 GB, free: 8.262 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.0003279/0.6452, allocations: 167.4 kB / 0.8091 GB, free: 8.148 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0003689/0.6456, allocations: 168.6 kB / 0.8093 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6456, allocations: 2.938 kB / 0.8093 GB, free: 8.113 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0001716/0.6458, allocations: 97.12 kB / 0.8094 GB, free: 8.086 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008125/0.6466, allocations: 171.3 kB / 0.8096 GB, free: 8.016 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007999/0.6474, allocations: 0.5887 MB / 0.8101 GB, free: 7.629 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003083/0.6477, allocations: 0.7858 MB / 0.8109 GB, free: 6.883 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0001797/0.6479, allocations: 61.98 kB / 0.811 GB, free: 6.855 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.322e-05/0.648, allocations: 24.47 kB / 0.811 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of SimCode: time 2.1e-07/0.648, allocations: 0 / 0.811 GB, free: 6.852 MB / 0.5919 GB Notification: Performance of Templates: time 0.009078/0.6571, allocations: 5.775 MB / 0.8166 GB, free: 4.035 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)