Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008499/0.0008499, allocations: 77.09 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009193/0.0009193, allocations: 169 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9867/0.9867, allocations: 177.1 MB / 204.5 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:108:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-545:116:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.788/0.788, allocations: 154.6 MB / 415.6 MB, free: 0.543 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") translateModel(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.5216 GB, free: 0.8008 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.339e-05/2.478e-05, allocations: 2.312 kB / 0.5216 GB, free: 0.7969 MB / 442.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4953/0.4954, allocations: 143.8 MB / 0.662 GB, free: 16.41 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001854/0.4972, allocations: 1.274 MB / 0.6632 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002043/0.4974, allocations: 17.22 kB / 0.6633 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0003342/0.4978, allocations: 85.72 kB / 0.6633 GB, free: 16.36 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0007939/0.4986, allocations: 396.5 kB / 0.6637 GB, free: 16.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.4994, allocations: 465 kB / 0.6642 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0007545/0.5001, allocations: 0.7009 MB / 0.6649 GB, free: 16.32 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003222/0.5004, allocations: 198.3 kB / 0.665 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005425/0.501, allocations: 365 kB / 0.6654 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002569/0.5012, allocations: 195.3 kB / 0.6656 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.417e-05/0.5013, allocations: 23.45 kB / 0.6656 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004301/0.5017, allocations: 307.1 kB / 0.6659 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001138/0.5018, allocations: 112.3 kB / 0.666 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.000125/0.5019, allocations: 115.6 kB / 0.6661 GB, free: 16.31 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0005679/0.5025, allocations: 438.9 kB / 0.6665 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 3.496e-06/0.5025, allocations: 1.938 kB / 0.6665 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.894e-06/0.5025, allocations: 4 kB / 0.6665 GB, free: 16.27 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 6.322e-06/0.5025, allocations: 0 / 0.6665 GB, free: 16.27 MB / 0.5573 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.0006048/0.5031, allocations: 0.6492 MB / 0.6672 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.173e-05/0.5032, allocations: 9.312 kB / 0.6672 GB, free: 15.78 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007171/0.5039, allocations: 212.3 kB / 0.6674 GB, free: 15.73 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000309/0.5042, allocations: 265.5 kB / 0.6676 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.438e-05/0.5042, allocations: 17.22 kB / 0.6676 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.454e-05/0.5043, allocations: 22.72 kB / 0.6677 GB, free: 15.56 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002637/0.5045, allocations: 225.6 kB / 0.6679 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.5045, allocations: 1.375 kB / 0.6679 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.447e-05/0.5046, allocations: 8.562 kB / 0.6679 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.764e-06/0.5046, allocations: 5.656 kB / 0.6679 GB, free: 15.45 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.5047, allocations: 72.94 kB / 0.668 GB, free: 15.45 MB / 0.5573 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.0007034/0.5054, allocations: 1.093 MB / 0.669 GB, free: 14.64 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001145/0.5055, allocations: 77.55 kB / 0.6691 GB, free: 14.61 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.926e-05/0.5055, allocations: 33.47 kB / 0.6691 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001841/0.5057, allocations: 59.02 kB / 0.6692 GB, free: 14.59 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.421e-05/0.5057, allocations: 35.95 kB / 0.6692 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=15): time 1.483e-06/0.5057, allocations: 0 / 0.6692 GB, free: 14.54 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15): time 0.0002639/0.506, allocations: 146 kB / 0.6694 GB, free: 14.49 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.308e-05/0.506, allocations: 56.94 kB / 0.6694 GB, free: 14.43 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001408/0.5061, allocations: 296 kB / 0.6697 GB, free: 14.25 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.5062, allocations: 35.84 kB / 0.6697 GB, free: 14.22 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.609e-05/0.5062, allocations: 233.9 kB / 0.67 GB, free: 14.05 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.5063, allocations: 57.38 kB / 0.67 GB, free: 14.02 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.438e-05/0.5063, allocations: 51.48 kB / 0.6701 GB, free: 13.99 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 6.263e-05/0.5064, allocations: 0.5079 MB / 0.6706 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.929e-05/0.5064, allocations: 15.28 kB / 0.6706 GB, free: 13.5 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.243e-05/0.5065, allocations: 167.7 kB / 0.6707 GB, free: 13.33 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.194e-05/0.5066, allocations: 109.8 kB / 0.6708 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.085e-06/0.5066, allocations: 5.312 kB / 0.6709 GB, free: 13.26 MB / 0.5573 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000168/0.5067, allocations: 152.4 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.5067, allocations: 5.5 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.922e-06/0.5068, allocations: 3.953 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.907e-06/0.5068, allocations: 2.75 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.5069, allocations: 38.17 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.188e-06/0.5069, allocations: 4.469 kB / 0.671 GB, free: 13.21 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.107e-05/0.507, allocations: 21.36 kB / 0.6711 GB, free: 13.2 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.916e-05/0.507, allocations: 10.38 kB / 0.6711 GB, free: 13.2 MB / 0.5573 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 6.764e-05/0.507, allocations: 172.5 kB / 0.6712 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.5071, allocations: 29.23 kB / 0.6713 GB, free: 13.02 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000156/0.5072, allocations: 128.8 kB / 0.6714 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.625e-06/0.5072, allocations: 3.625 kB / 0.6714 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.495e-06/0.5072, allocations: 4.688 kB / 0.6714 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.5072, allocations: 1.094 kB / 0.6714 GB, free: 12.98 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004132/0.5077, allocations: 0.5083 MB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.878e-06/0.5077, allocations: 1.875 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.273e-05/0.5077, allocations: 35.22 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.498e-06/0.5077, allocations: 2.531 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.125e-05/0.5078, allocations: 5.656 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.985e-06/0.5078, allocations: 2.719 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/0.5078, allocations: 2.75 kB / 0.6719 GB, free: 12.62 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002115/0.508, allocations: 357.2 kB / 0.6723 GB, free: 12.34 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.932e-05/0.508, allocations: 42.86 kB / 0.6723 GB, free: 12.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.262e-05/0.508, allocations: 7.906 kB / 0.6723 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.371e-05/0.5081, allocations: 10.62 kB / 0.6723 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.107e-05/0.5082, allocations: 18.64 kB / 0.6724 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.008e-05/0.5082, allocations: 7.812 kB / 0.6724 GB, free: 12.31 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.457e-05/0.5082, allocations: 193.2 kB / 0.6726 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of sort global known variables: time 6e-08/0.5082, allocations: 0 / 0.6726 GB, free: 12.19 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0002654/0.5085, allocations: 88.08 kB / 0.6726 GB, free: 12.18 MB / 0.5573 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.0001715/0.5087, allocations: 135.4 kB / 0.6728 GB, free: 12.07 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0001488/0.5088, allocations: 92.61 kB / 0.6729 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 9.82e-07/0.5088, allocations: 1.219 kB / 0.6729 GB, free: 12.06 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 6.019e-05/0.5089, allocations: 50.5 kB / 0.6729 GB, free: 12.05 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004216/0.5093, allocations: 126 kB / 0.673 GB, free: 12.04 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007959/0.5101, allocations: 0.5788 MB / 0.6736 GB, free: 11.64 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.947e-05/0.5102, allocations: 97.2 kB / 0.6737 GB, free: 11.57 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 9.277e-05/0.5103, allocations: 31.89 kB / 0.6737 GB, free: 11.56 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001842/0.5104, allocations: 162.3 kB / 0.6739 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of SimCode: time 7.11e-07/0.5104, allocations: 2.188 kB / 0.6739 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of Templates: time 0.00659/0.517, allocations: 5.099 MB / 0.6789 GB, free: 11.02 MB / 0.5573 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.240170365199447]