Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001434/0.001434, allocations: 110.5 kB / 17.6 MB, free: 4.684 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001359/0.001359, allocations: 186.8 kB / 20.78 MB, free: 1.52 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 225.6 MB / 249.4 MB, free: 3.133 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.189/1.189, allocations: 175.7 MB / 480.2 MB, free: 2.77 MB / 366.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001935/0.001935, allocations: 68.05 kB / 0.6684 GB, free: 10.59 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2309/0.2328, allocations: 94.53 MB / 0.7607 GB, free: 260 kB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.7932/1.026, allocations: 168.1 MB / 0.9249 GB, free: 9.246 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.004061/1.03, allocations: 1.557 MB / 0.9264 GB, free: 7.98 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006312/1.031, allocations: 10.38 kB / 0.9264 GB, free: 7.977 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.0007675/1.031, allocations: 150.8 kB / 0.9265 GB, free: 7.844 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.002477/1.034, allocations: 0.737 MB / 0.9273 GB, free: 7.289 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002054/1.036, allocations: 0.6069 MB / 0.9279 GB, free: 6.848 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.001199/1.037, allocations: 0.7033 MB / 0.9285 GB, free: 6.438 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004353/1.038, allocations: 195 kB / 0.9287 GB, free: 6.305 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001379/1.039, allocations: 494.9 kB / 0.9292 GB, free: 6.016 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003623/1.039, allocations: 227.7 kB / 0.9294 GB, free: 5.879 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 4.462e-05/1.039, allocations: 27.06 kB / 0.9294 GB, free: 5.875 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002037/1.041, allocations: 0.9162 MB / 0.9303 GB, free: 5.344 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0001656/1.042, allocations: 108.4 kB / 0.9304 GB, free: 5.27 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0002402/1.042, allocations: 170.7 kB / 0.9306 GB, free: 5.164 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.001562/1.043, allocations: 0.7191 MB / 0.9313 GB, free: 4.742 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.429e-06/1.043, allocations: 0 / 0.9313 GB, free: 4.742 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.203e-06/1.043, allocations: 0 / 0.9313 GB, free: 4.742 MB / 0.67 GB Notification: Performance of Transformations before backend: time 1.318e-05/1.043, allocations: 0 / 0.9313 GB, free: 4.742 MB / 0.67 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.001118/1.045, allocations: 0.661 MB / 0.9319 GB, free: 4.152 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.147e-05/1.045, allocations: 11.94 kB / 0.932 GB, free: 4.148 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001211/1.046, allocations: 161.1 kB / 0.9321 GB, free: 4.07 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006141/1.046, allocations: 321.1 kB / 0.9324 GB, free: 3.77 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.481e-05/1.046, allocations: 18.5 kB / 0.9324 GB, free: 3.762 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.157e-05/1.046, allocations: 23.66 kB / 0.9325 GB, free: 3.754 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005555/1.047, allocations: 280.8 kB / 0.9327 GB, free: 3.559 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.642e-05/1.047, allocations: 2.594 kB / 0.9327 GB, free: 3.559 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.732e-05/1.047, allocations: 6.219 kB / 0.9327 GB, free: 3.555 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.042e-05/1.047, allocations: 9.656 kB / 0.9327 GB, free: 3.551 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004595/1.048, allocations: 196.9 kB / 0.9329 GB, free: 3.461 MB / 0.67 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001783/1.049, allocations: 1.203 MB / 0.9341 GB, free: 2.348 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002978/1.05, allocations: 131 kB / 0.9342 GB, free: 2.27 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001772/1.05, allocations: 93.05 kB / 0.9343 GB, free: 2.219 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006225/1.05, allocations: 302 kB / 0.9346 GB, free: 1.91 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.535e-05/1.05, allocations: 33.28 kB / 0.9346 GB, free: 1.871 MB / 0.67 GB Notification: Performance of pre-optimization done (n=15): time 1.583e-06/1.05, allocations: 0 / 0.9346 GB, free: 1.871 MB / 0.67 GB Notification: Performance of matching and sorting (n=15): time 0.0007967/1.051, allocations: 285.1 kB / 0.9349 GB, free: 1.723 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.458e-05/1.051, allocations: 54.69 kB / 0.935 GB, free: 1.66 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003378/1.052, allocations: 315.1 kB / 0.9353 GB, free: 1.461 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 3.297e-05/1.052, allocations: 29.7 kB / 0.9353 GB, free: 1.426 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001604/1.052, allocations: 190.7 kB / 0.9355 GB, free: 1.254 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 6.8e-05/1.052, allocations: 48.53 kB / 0.9355 GB, free: 1.211 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.835e-05/1.052, allocations: 47.16 kB / 0.9356 GB, free: 1.176 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0002255/1.052, allocations: 338.2 kB / 0.9359 GB, free: 0.8438 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001662/1.052, allocations: 71.69 kB / 0.936 GB, free: 0.8086 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002659/1.053, allocations: 121.1 kB / 0.9361 GB, free: 0.7188 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000347/1.053, allocations: 187.9 kB / 0.9363 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/1.053, allocations: 0 / 0.9363 GB, free: 0.5938 MB / 0.67 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0005434/1.054, allocations: 245.1 kB / 0.9365 GB, free: 476 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.049e-05/1.054, allocations: 6.062 kB / 0.9365 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.943e-06/1.054, allocations: 0 / 0.9365 GB, free: 476 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.494e-05/1.054, allocations: 6.172 kB / 0.9365 GB, free: 472 kB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002037/1.054, allocations: 45.14 kB / 0.9365 GB, free: 460 kB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.448e-06/1.054, allocations: 6.094 kB / 0.9365 GB, free: 456 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002169/1.054, allocations: 34.3 kB / 0.9366 GB, free: 432 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.895e-05/1.054, allocations: 10.88 kB / 0.9366 GB, free: 428 kB / 0.67 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.0001781/1.054, allocations: 156.1 kB / 0.9367 GB, free: 280 kB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.095e-05/1.054, allocations: 35.11 kB / 0.9368 GB, free: 260 kB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004728/1.055, allocations: 215.5 kB / 0.937 GB, free: 124 kB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.232e-06/1.055, allocations: 3.984 kB / 0.937 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.801e-06/1.055, allocations: 2.906 kB / 0.937 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.417e-06/1.055, allocations: 0 / 0.937 GB, free: 120 kB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/1.056, allocations: 0.6828 MB / 0.9376 GB, free: 15.54 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/1.056, allocations: 6.094 kB / 0.9377 GB, free: 15.53 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001628/1.056, allocations: 38.77 kB / 0.9377 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.589e-06/1.056, allocations: 2.781 kB / 0.9377 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/1.056, allocations: 6.094 kB / 0.9377 GB, free: 15.52 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.114e-05/1.056, allocations: 6.609 kB / 0.9377 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/1.056, allocations: 2.125 kB / 0.9377 GB, free: 15.51 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006818/1.057, allocations: 429.1 kB / 0.9381 GB, free: 15.19 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001828/1.057, allocations: 131.7 kB / 0.9382 GB, free: 15.06 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.451e-05/1.057, allocations: 10.94 kB / 0.9383 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001665/1.057, allocations: 12.98 kB / 0.9383 GB, free: 15.05 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.666e-05/1.057, allocations: 15.58 kB / 0.9383 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.377e-05/1.057, allocations: 9.188 kB / 0.9383 GB, free: 15.04 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.0002639/1.058, allocations: 226.5 kB / 0.9385 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of sort global known variables: time 8e-08/1.058, allocations: 0 / 0.9385 GB, free: 14.89 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0004298/1.058, allocations: 74.81 kB / 0.9386 GB, free: 14.88 MB / 0.6856 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.0004817/1.059, allocations: 166.4 kB / 0.9387 GB, free: 14.75 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.0004679/1.059, allocations: 171.6 kB / 0.9389 GB, free: 14.68 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/1.059, allocations: 4.188 kB / 0.9389 GB, free: 14.67 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/1.059, allocations: 77.61 kB / 0.939 GB, free: 14.64 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009101/1.06, allocations: 163.5 kB / 0.9391 GB, free: 14.56 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001199/1.061, allocations: 0.618 MB / 0.9397 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004779/1.062, allocations: 0.7788 MB / 0.9405 GB, free: 13.37 MB / 0.6856 GB Notification: Performance of simCode: alias equations: time 0.0002387/1.062, allocations: 71.86 kB / 0.9406 GB, free: 13.33 MB / 0.6856 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.751e-05/1.062, allocations: 26.25 kB / 0.9406 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of SimCode: time 8.61e-07/1.062, allocations: 2.531 kB / 0.9406 GB, free: 13.32 MB / 0.6856 GB Notification: Performance of Templates: time 0.01352/1.076, allocations: 5.859 MB / 0.9463 GB, free: 10.44 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.311037870123982]