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.001261/0.001261, allocations: 108.5 kB / 17.03 MB, free: 5.656 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.001588/0.001589, allocations: 190.9 kB / 17.97 MB, free: 5.062 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.317/1.317, 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.7234/0.7234, allocations: 115.1 MB / 406.9 MB, free: 6.367 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 71.89 kB / 494.8 MB, free: 15.89 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3282/0.3295, allocations: 76.13 MB / 0.5576 GB, free: 36.79 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1677/0.4973, allocations: 167.4 MB / 0.721 GB, free: 12.66 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002682/0.5, allocations: 1.543 MB / 0.7225 GB, free: 11.11 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003566/0.5004, allocations: 11.94 kB / 0.7225 GB, free: 11.1 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000513/0.5009, allocations: 150.8 kB / 0.7227 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001671/0.5026, allocations: 0.7 MB / 0.7233 GB, free: 10.25 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001458/0.5041, allocations: 0.6008 MB / 0.7239 GB, free: 9.648 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0008656/0.505, allocations: 0.705 MB / 0.7246 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003933/0.5054, allocations: 229.1 kB / 0.7248 GB, free: 8.719 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006672/0.5061, allocations: 338.8 kB / 0.7252 GB, free: 8.387 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003279/0.5064, allocations: 223 kB / 0.7254 GB, free: 8.168 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 5.063e-05/0.5065, allocations: 24 kB / 0.7254 GB, free: 8.145 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001394/0.5079, allocations: 0.8611 MB / 0.7262 GB, free: 7.281 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001296/0.508, allocations: 107.7 kB / 0.7263 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001862/0.5082, allocations: 167.2 kB / 0.7265 GB, free: 7.012 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001044/0.5093, allocations: 0.7225 MB / 0.7272 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.326e-06/0.5093, allocations: 0 / 0.7272 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5093, allocations: 0 / 0.7272 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.067e-05/0.5093, allocations: 4 kB / 0.7272 GB, free: 6.285 MB / 0.5606 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.0008786/0.5102, allocations: 0.6582 MB / 0.7278 GB, free: 5.574 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.63e-05/0.5102, allocations: 8.031 kB / 0.7279 GB, free: 5.566 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001123/0.5114, allocations: 151.5 kB / 0.728 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004976/0.5119, allocations: 321.7 kB / 0.7283 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.117e-05/0.5119, allocations: 20.44 kB / 0.7283 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.859e-05/0.512, allocations: 20 kB / 0.7283 GB, free: 5.023 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004533/0.5124, allocations: 280.5 kB / 0.7286 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.5124, allocations: 0 / 0.7286 GB, free: 4.73 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.5125, allocations: 12 kB / 0.7286 GB, free: 4.719 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.436e-06/0.5125, allocations: 4 kB / 0.7286 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003993/0.5129, allocations: 199.8 kB / 0.7288 GB, free: 4.52 MB / 0.5606 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.001338/0.5142, allocations: 1.205 MB / 0.73 GB, free: 3.211 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002748/0.5145, allocations: 134.5 kB / 0.7301 GB, free: 3.07 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001676/0.5147, allocations: 92.8 kB / 0.7302 GB, free: 2.977 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000644/0.5154, allocations: 303.2 kB / 0.7305 GB, free: 2.625 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.995e-05/0.5154, allocations: 38.48 kB / 0.7305 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 3.767e-06/0.5154, allocations: 0 / 0.7305 GB, free: 2.578 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0008841/0.5163, allocations: 281.3 kB / 0.7308 GB, free: 2.297 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.5164, allocations: 59.41 kB / 0.7309 GB, free: 2.227 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003094/0.5167, allocations: 316.5 kB / 0.7312 GB, free: 1.91 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.07e-05/0.5167, allocations: 25.7 kB / 0.7312 GB, free: 1.879 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001238/0.5168, allocations: 180.2 kB / 0.7314 GB, free: 1.699 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 4.009e-05/0.5169, allocations: 55.2 kB / 0.7314 GB, free: 1.645 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.468e-05/0.517, allocations: 45.61 kB / 0.7315 GB, free: 1.594 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001228/0.5171, allocations: 342.8 kB / 0.7318 GB, free: 1.25 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001588/0.5173, allocations: 63.94 kB / 0.7318 GB, free: 1.188 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002039/0.5175, allocations: 135 kB / 0.732 GB, free: 1.039 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003408/0.5178, allocations: 183.8 kB / 0.7321 GB, free: 0.8438 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.177e-05/0.5178, allocations: 4 kB / 0.7322 GB, free: 0.8398 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004563/0.5183, allocations: 241.2 kB / 0.7324 GB, free: 0.5977 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.5183, allocations: 11.92 kB / 0.7324 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.5183, allocations: 0 / 0.7324 GB, free: 0.5859 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.5e-05/0.5184, allocations: 4 kB / 0.7324 GB, free: 0.582 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001954/0.5186, allocations: 44.02 kB / 0.7324 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.275e-06/0.5186, allocations: 4 kB / 0.7324 GB, free: 0.5352 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001902/0.5188, allocations: 31.67 kB / 0.7325 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.797e-05/0.5188, allocations: 12 kB / 0.7325 GB, free: 0.4922 MB / 0.5606 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.0001375/0.519, allocations: 157.7 kB / 0.7326 GB, free: 336 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.519, allocations: 27.62 kB / 0.7327 GB, free: 308 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004514/0.5195, allocations: 217.2 kB / 0.7329 GB, free: 88 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.718e-06/0.5195, allocations: 4 kB / 0.7329 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.547e-06/0.5195, allocations: 0 / 0.7329 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.5195, allocations: 0 / 0.7329 GB, free: 84 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001073/0.5206, allocations: 0.6796 MB / 0.7335 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.749e-06/0.5206, allocations: 4 kB / 0.7335 GB, free: 15.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001611/0.5208, allocations: 31.92 kB / 0.7336 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.644e-06/0.5208, allocations: 7.938 kB / 0.7336 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.6e-05/0.5208, allocations: 7.984 kB / 0.7336 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.594e-06/0.5208, allocations: 4 kB / 0.7336 GB, free: 15.27 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.147e-06/0.5208, allocations: 8.219 kB / 0.7336 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006124/0.5214, allocations: 426.2 kB / 0.734 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000131/0.5216, allocations: 124.7 kB / 0.7341 GB, free: 14.67 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.536e-05/0.5216, allocations: 11.94 kB / 0.7341 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000174/0.5218, allocations: 11.98 kB / 0.7341 GB, free: 14.64 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.19e-05/0.5219, allocations: 19.98 kB / 0.7342 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.144e-05/0.5219, allocations: 8 kB / 0.7342 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002118/0.5221, allocations: 227 kB / 0.7344 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of sort global known variables: time 2.204e-06/0.5221, allocations: 0 / 0.7344 GB, free: 14.39 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003786/0.5225, allocations: 79.94 kB / 0.7345 GB, free: 14.32 MB / 0.5762 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.0003642/0.5229, allocations: 175 kB / 0.7346 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0004191/0.5233, allocations: 175.7 kB / 0.7348 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 4.398e-06/0.5233, allocations: 4 kB / 0.7348 GB, free: 13.97 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001813/0.5235, allocations: 91.94 kB / 0.7349 GB, free: 13.88 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0008037/0.5243, allocations: 163.3 kB / 0.735 GB, free: 13.73 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009347/0.5253, allocations: 0.6054 MB / 0.7356 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003531/0.5256, allocations: 0.7795 MB / 0.7364 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001885/0.5258, allocations: 54.94 kB / 0.7365 GB, free: 12.21 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.15e-05/0.5259, allocations: 31.42 kB / 0.7365 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of SimCode: time 3.2e-07/0.5259, allocations: 0 / 0.7365 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of Templates: time 0.01044/0.5364, allocations: 5.721 MB / 0.7421 GB, free: 6.57 MB / 0.5762 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 -s gbode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)