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.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.001366/0.001366, allocations: 88.2 kB / 20.19 MB, free: 4.363 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.001629/0.001629, allocations: 173 kB / 23.49 MB, free: 1.059 MB / 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 1.069/1.069, allocations: 177.1 MB / 203.8 MB, free: 5.625 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8987/0.8987, allocations: 154.8 MB / 415.1 MB, free: 476 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/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 master/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 master/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_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 2.194e-06/2.194e-06, allocations: 0 / 0.5206 GB, free: 2.25 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.856e-05/4.076e-05, allocations: 6.312 kB / 0.5206 GB, free: 2.242 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.VolumeFlowRate): time 0.4853/0.4853, allocations: 163.7 MB / 0.6804 GB, free: 47.34 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.002357/0.4877, allocations: 1.576 MB / 0.682 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003365/0.488, allocations: 18.25 kB / 0.682 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0005024/0.4885, allocations: 158.3 kB / 0.6821 GB, free: 47.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.001508/0.49, allocations: 0.7165 MB / 0.6828 GB, free: 47.29 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001376/0.4914, allocations: 0.677 MB / 0.6835 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.0008524/0.4923, allocations: 0.7054 MB / 0.6842 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003666/0.4926, allocations: 195.1 kB / 0.6844 GB, free: 47.27 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001031/0.4937, allocations: 0.5944 MB / 0.6849 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003095/0.494, allocations: 193.7 kB / 0.6851 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 4.726e-05/0.494, allocations: 23.66 kB / 0.6851 GB, free: 47.26 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001141/0.4951, allocations: 0.7152 MB / 0.6858 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001323/0.4953, allocations: 112.5 kB / 0.686 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0001409/0.4954, allocations: 120.4 kB / 0.6861 GB, free: 47.25 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001117/0.4965, allocations: 0.6408 MB / 0.6867 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.33e-06/0.4965, allocations: 0 / 0.6867 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.613e-06/0.4965, allocations: 3.375 kB / 0.6867 GB, free: 47.21 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.048e-05/0.4966, allocations: 1.203 kB / 0.6867 GB, free: 47.21 MB / 0.6355 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.0008262/0.4974, allocations: 0.6798 MB / 0.6874 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.22e-05/0.4974, allocations: 8.562 kB / 0.6874 GB, free: 46.71 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008602/0.4983, allocations: 208.7 kB / 0.6876 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003843/0.4987, allocations: 276.1 kB / 0.6878 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.4987, allocations: 20.88 kB / 0.6879 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.847e-05/0.4987, allocations: 22.16 kB / 0.6879 GB, free: 46.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002934/0.499, allocations: 228.4 kB / 0.6881 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.027e-05/0.499, allocations: 0.6562 kB / 0.6881 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.9e-05/0.499, allocations: 18.25 kB / 0.6881 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.3e-05/0.4991, allocations: 5.781 kB / 0.6881 GB, free: 46.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000156/0.4992, allocations: 83.19 kB / 0.6882 GB, free: 46.39 MB / 0.6355 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.0009508/0.5002, allocations: 1.133 MB / 0.6893 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001562/0.5003, allocations: 87.2 kB / 0.6894 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.603e-05/0.5004, allocations: 43.03 kB / 0.6894 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002493/0.5006, allocations: 69.75 kB / 0.6895 GB, free: 45.53 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.5007, allocations: 36.48 kB / 0.6895 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=15): time 1.893e-06/0.5007, allocations: 1 kB / 0.6895 GB, free: 45.49 MB / 0.6355 GB Notification: Performance of matching and sorting (n=15): time 0.0004011/0.5011, allocations: 167.6 kB / 0.6897 GB, free: 45.43 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.951e-05/0.5011, allocations: 54.34 kB / 0.6897 GB, free: 45.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001677/0.5013, allocations: 291.4 kB / 0.69 GB, free: 45.2 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.538e-05/0.5013, allocations: 29.89 kB / 0.69 GB, free: 45.17 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.555e-05/0.5014, allocations: 241.9 kB / 0.6903 GB, free: 45 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.819e-05/0.5014, allocations: 51.64 kB / 0.6903 GB, free: 44.96 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.837e-05/0.5014, allocations: 50.56 kB / 0.6904 GB, free: 44.94 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 6.259e-05/0.5015, allocations: 0.5048 MB / 0.6909 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.225e-05/0.5016, allocations: 27.81 kB / 0.6909 GB, free: 44.45 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.954e-05/0.5017, allocations: 165.5 kB / 0.6911 GB, free: 44.29 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001239/0.5018, allocations: 122 kB / 0.6912 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.5018, allocations: 0 / 0.6912 GB, free: 44.21 MB / 0.6355 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0001972/0.502, allocations: 166.4 kB / 0.6913 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.475e-05/0.502, allocations: 5.656 kB / 0.6913 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.92e-06/0.502, allocations: 1 kB / 0.6913 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.669e-05/0.502, allocations: 2.938 kB / 0.6913 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.5021, allocations: 39.09 kB / 0.6914 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.646e-06/0.5022, allocations: 5.938 kB / 0.6914 GB, free: 44.17 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.734e-05/0.5022, allocations: 26.22 kB / 0.6914 GB, free: 44.16 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.214e-05/0.5023, allocations: 11.84 kB / 0.6914 GB, free: 44.16 MB / 0.6355 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 7.775e-05/0.5023, allocations: 163.2 kB / 0.6916 GB, free: 43.99 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.482e-05/0.5024, allocations: 37.05 kB / 0.6916 GB, free: 43.98 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001938/0.5026, allocations: 132.4 kB / 0.6917 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.5026, allocations: 4.562 kB / 0.6917 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.975e-06/0.5026, allocations: 0 / 0.6917 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.948e-06/0.5026, allocations: 0.9375 kB / 0.6917 GB, free: 43.95 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005248/0.5031, allocations: 0.5737 MB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.066e-06/0.5031, allocations: 3.688 kB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.158e-05/0.5032, allocations: 31.09 kB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.848e-06/0.5032, allocations: 3.719 kB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.436e-05/0.5032, allocations: 6.25 kB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.376e-06/0.5032, allocations: 3.844 kB / 0.6923 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.228e-06/0.5032, allocations: 9.406 kB / 0.6924 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.5035, allocations: 357.9 kB / 0.6927 GB, free: 43.28 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.886e-05/0.5036, allocations: 44.09 kB / 0.6927 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5036, allocations: 3.781 kB / 0.6927 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.408e-05/0.5037, allocations: 8.812 kB / 0.6927 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.105e-05/0.5037, allocations: 21.38 kB / 0.6928 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.556e-06/0.5037, allocations: 5.656 kB / 0.6928 GB, free: 43.26 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.852e-05/0.5038, allocations: 199.5 kB / 0.693 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.5038, allocations: 0.9062 kB / 0.693 GB, free: 43.13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002898/0.5041, allocations: 91.75 kB / 0.6931 GB, free: 43.12 MB / 0.6355 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.0002592/0.5044, allocations: 151.2 kB / 0.6932 GB, free: 43.03 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001989/0.5046, allocations: 96.67 kB / 0.6933 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5046, allocations: 5.719 kB / 0.6933 GB, free: 43.02 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.041e-05/0.5046, allocations: 50.27 kB / 0.6933 GB, free: 43 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000489/0.5051, allocations: 127.5 kB / 0.6935 GB, free: 43 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001148/0.5062, allocations: 0.5679 MB / 0.694 GB, free: 42.64 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.417e-05/0.5063, allocations: 99.16 kB / 0.6941 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001712/0.5065, allocations: 51.94 kB / 0.6942 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.091e-05/0.5066, allocations: 25.47 kB / 0.6942 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of SimCode: time 1.503e-06/0.5066, allocations: 0 / 0.6942 GB, free: 42.57 MB / 0.6355 GB Notification: Performance of Templates: time 0.009819/0.5164, allocations: 4.836 MB / 0.6989 GB, free: 42.31 MB / 0.6355 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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.VolumeFlowRate.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.6135246839839965]