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.00102/0.00102, allocations: 108.4 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.001194/0.001194, allocations: 193.4 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.271/1.271, allocations: 222.9 MB / 241.7 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6777/0.6777, allocations: 115.1 MB / 406.9 MB, free: 6.312 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001156/0.001156, allocations: 71.89 kB / 494.8 MB, free: 15.82 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3423/0.3435, allocations: 76.14 MB / 0.5576 GB, free: 36.49 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.VolumeFlowRate): time 0.1621/0.5056, allocations: 167.3 MB / 0.721 GB, free: 12.62 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002635/0.5083, allocations: 1.542 MB / 0.7225 GB, free: 11.07 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002436/0.5085, allocations: 11.94 kB / 0.7225 GB, free: 11.06 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004372/0.509, allocations: 146.9 kB / 0.7226 GB, free: 10.92 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001569/0.5106, allocations: 0.7078 MB / 0.7233 GB, free: 10.21 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001275/0.5119, allocations: 0.6024 MB / 0.7239 GB, free: 9.605 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.000677/0.5126, allocations: 0.7051 MB / 0.7246 GB, free: 8.898 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003316/0.5129, allocations: 228.9 kB / 0.7248 GB, free: 8.68 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005298/0.5135, allocations: 330.8 kB / 0.7251 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002749/0.5137, allocations: 227 kB / 0.7254 GB, free: 8.133 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 4.051e-05/0.5138, allocations: 20 kB / 0.7254 GB, free: 8.113 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001415/0.5152, allocations: 0.8689 MB / 0.7262 GB, free: 7.242 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0001282/0.5154, allocations: 107.7 kB / 0.7263 GB, free: 7.137 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0001761/0.5155, allocations: 167.2 kB / 0.7265 GB, free: 6.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00108/0.5166, allocations: 0.7207 MB / 0.7272 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.5166, allocations: 0 / 0.7272 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.405e-06/0.5167, allocations: 0 / 0.7272 GB, free: 6.25 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.303e-06/0.5167, allocations: 0 / 0.7272 GB, free: 6.25 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.0009561/0.5176, allocations: 0.6466 MB / 0.7278 GB, free: 5.551 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.894e-05/0.5177, allocations: 16.03 kB / 0.7278 GB, free: 5.535 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001064/0.5187, allocations: 155.4 kB / 0.728 GB, free: 5.383 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004893/0.5192, allocations: 317.6 kB / 0.7283 GB, free: 5.035 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.792e-05/0.5193, allocations: 20.44 kB / 0.7283 GB, free: 5.016 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.23e-05/0.5193, allocations: 24 kB / 0.7283 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004328/0.5198, allocations: 276.5 kB / 0.7286 GB, free: 4.699 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.033e-05/0.5198, allocations: 3.984 kB / 0.7286 GB, free: 4.695 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.158e-05/0.5198, allocations: 12 kB / 0.7286 GB, free: 4.684 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5198, allocations: 12 kB / 0.7286 GB, free: 4.672 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003874/0.5202, allocations: 199.8 kB / 0.7288 GB, free: 4.477 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.001444/0.5217, allocations: 1.205 MB / 0.73 GB, free: 3.168 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002407/0.5219, allocations: 132 kB / 0.7301 GB, free: 3.031 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.5221, allocations: 92.8 kB / 0.7302 GB, free: 2.938 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005278/0.5226, allocations: 307.2 kB / 0.7305 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.042e-05/0.5227, allocations: 38.48 kB / 0.7305 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=15): time 1.222e-06/0.5227, allocations: 0 / 0.7305 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of matching and sorting (n=15): time 0.0007105/0.5234, allocations: 281.3 kB / 0.7308 GB, free: 2.254 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.182e-05/0.5234, allocations: 55.39 kB / 0.7309 GB, free: 2.188 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000286/0.5237, allocations: 316.5 kB / 0.7312 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 2.369e-05/0.5237, allocations: 29.7 kB / 0.7312 GB, free: 1.836 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/0.5239, allocations: 176.2 kB / 0.7314 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.854e-05/0.5239, allocations: 51.2 kB / 0.7314 GB, free: 1.609 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.598e-05/0.524, allocations: 53.61 kB / 0.7315 GB, free: 1.551 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5241, allocations: 338.8 kB / 0.7318 GB, free: 1.211 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001488/0.5243, allocations: 63.95 kB / 0.7318 GB, free: 1.148 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00021/0.5245, allocations: 122.3 kB / 0.732 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003227/0.5248, allocations: 200.2 kB / 0.7322 GB, free: 0.8008 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.084e-06/0.5249, allocations: 3.938 kB / 0.7322 GB, free: 0.7969 MB / 0.5606 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0004316/0.5253, allocations: 241.2 kB / 0.7324 GB, free: 0.5547 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.458e-05/0.5253, allocations: 11.94 kB / 0.7324 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.059e-06/0.5253, allocations: 0 / 0.7324 GB, free: 0.543 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.363e-05/0.5253, allocations: 4 kB / 0.7324 GB, free: 0.5391 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001789/0.5255, allocations: 35.98 kB / 0.7324 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.212e-06/0.5255, allocations: 0 / 0.7324 GB, free: 0.5039 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000176/0.5257, allocations: 35.67 kB / 0.7325 GB, free: 480 kB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.432e-05/0.5258, allocations: 11.94 kB / 0.7325 GB, free: 468 kB / 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.0001339/0.5259, allocations: 158.5 kB / 0.7326 GB, free: 300 kB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.887e-05/0.5259, allocations: 31.62 kB / 0.7327 GB, free: 268 kB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000423/0.5264, allocations: 216.3 kB / 0.7329 GB, free: 48 kB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.5264, allocations: 4 kB / 0.7329 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.5264, allocations: 0 / 0.7329 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.085e-06/0.5264, allocations: 0 / 0.7329 GB, free: 44 kB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009462/0.5274, allocations: 0.6796 MB / 0.7335 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.697e-06/0.5274, allocations: 4.219 kB / 0.7335 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001623/0.5275, allocations: 39.91 kB / 0.7336 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/0.5276, allocations: 3.938 kB / 0.7336 GB, free: 15.24 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.455e-05/0.5276, allocations: 4 kB / 0.7336 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.379e-06/0.5276, allocations: 4 kB / 0.7336 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.5276, allocations: 0 / 0.7336 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005777/0.5282, allocations: 439.2 kB / 0.734 GB, free: 14.77 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001162/0.5283, allocations: 124.7 kB / 0.7341 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.238e-05/0.5283, allocations: 16 kB / 0.7341 GB, free: 14.61 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001609/0.5285, allocations: 7.984 kB / 0.7341 GB, free: 14.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.713e-05/0.5286, allocations: 15.98 kB / 0.7342 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.163e-05/0.5286, allocations: 4 kB / 0.7342 GB, free: 14.58 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0002011/0.5288, allocations: 231 kB / 0.7344 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5288, allocations: 0 / 0.7344 GB, free: 14.36 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003698/0.5292, allocations: 76 kB / 0.7345 GB, free: 14.28 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.0003293/0.5295, allocations: 184.2 kB / 0.7346 GB, free: 14.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0003838/0.5299, allocations: 167.8 kB / 0.7348 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.5299, allocations: 192 / 0.7348 GB, free: 13.93 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0001789/0.5301, allocations: 95.81 kB / 0.7349 GB, free: 13.84 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007417/0.5308, allocations: 164 kB / 0.735 GB, free: 13.69 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000852/0.5317, allocations: 0.5937 MB / 0.7356 GB, free: 13.05 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003046/0.532, allocations: 0.7834 MB / 0.7364 GB, free: 12.24 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0001709/0.5322, allocations: 66.91 kB / 0.7365 GB, free: 12.17 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.371e-05/0.5323, allocations: 27.44 kB / 0.7365 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of SimCode: time 2.21e-07/0.5323, allocations: 0 / 0.7365 GB, free: 12.14 MB / 0.5762 GB Notification: Performance of Templates: time 0.009248/0.5415, allocations: 5.73 MB / 0.7421 GB, free: 6.527 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 cvode -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1)