Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.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.001038/0.001038, allocations: 73.97 kB / 20.65 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.001234/0.001234, allocations: 169.4 kB / 24.06 MB, free: 452 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 1.045/1.045, allocations: 177.1 MB / 204.5 MB, free: 5.121 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.8361/0.8361, allocations: 154.9 MB / 415.9 MB, free: 220 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.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.213e-06/1.213e-06, allocations: 0 / 0.5219 GB, free: 1.48 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.815e-05/1.937e-05, allocations: 5.344 kB / 0.5219 GB, free: 1.477 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1562/0.1562, allocations: 149.1 MB / 0.6676 GB, free: 11.99 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.006346/0.1625, allocations: 4.105 MB / 0.6716 GB, free: 7.875 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00104/0.1636, allocations: 47.62 kB / 0.6716 GB, free: 7.828 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008168/0.1644, allocations: 286 kB / 0.6719 GB, free: 7.547 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002375/0.1667, allocations: 1.267 MB / 0.6731 GB, free: 6.273 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.001642/0.1684, allocations: 0.8221 MB / 0.6739 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003029/0.1714, allocations: 2.588 MB / 0.6765 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001303/0.1727, allocations: 0.8227 MB / 0.6773 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004073/0.1768, allocations: 1.57 MB / 0.6788 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.314/0.4908, allocations: 0.8385 MB / 0.6796 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0004019/0.4912, allocations: 102.8 kB / 0.6797 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001052/0.4922, allocations: 433.7 kB / 0.6801 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004356/0.4927, allocations: 0.5423 MB / 0.6806 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0007001/0.4934, allocations: 453.4 kB / 0.6811 GB, free: 50.39 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001796/0.4952, allocations: 1.206 MB / 0.6823 GB, free: 50.35 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.489e-06/0.4952, allocations: 3.922 kB / 0.6823 GB, free: 50.35 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4952, allocations: 1.312 kB / 0.6823 GB, free: 50.35 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 4.764e-05/0.4952, allocations: 0 / 0.6823 GB, free: 50.35 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: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001787/0.497, allocations: 1.486 MB / 0.6837 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.373e-05/0.497, allocations: 8.469 kB / 0.6837 GB, free: 49.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008478/0.4979, allocations: 339.4 kB / 0.684 GB, free: 49.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008123/0.4987, allocations: 0.7033 MB / 0.6847 GB, free: 49.2 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.171e-05/0.4987, allocations: 74.86 kB / 0.6848 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.862e-05/0.4988, allocations: 96.28 kB / 0.6849 GB, free: 49.19 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007242/0.4996, allocations: 0.9042 MB / 0.6858 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.444e-05/0.4996, allocations: 7.188 kB / 0.6858 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.829e-05/0.4996, allocations: 35.03 kB / 0.6858 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.546e-05/0.4997, allocations: 37.59 kB / 0.6859 GB, free: 48.72 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003894/0.5001, allocations: 309.9 kB / 0.6862 GB, free: 48.7 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.002633/0.5027, allocations: 4.692 MB / 0.6907 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003291/0.503, allocations: 241.6 kB / 0.691 GB, free: 45.59 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001324/0.5032, allocations: 129.5 kB / 0.6911 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002059/0.5034, allocations: 56.3 kB / 0.6911 GB, free: 45.58 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.124e-05/0.5034, allocations: 41.95 kB / 0.6912 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.164e-06/0.5034, allocations: 0 / 0.6912 GB, free: 45.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0006123/0.504, allocations: 419.4 kB / 0.6916 GB, free: 45.45 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.231e-05/0.504, allocations: 57.59 kB / 0.6916 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003895/0.5044, allocations: 0.653 MB / 0.6923 GB, free: 45.18 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.212e-05/0.5044, allocations: 37.05 kB / 0.6923 GB, free: 45.15 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002064/0.5046, allocations: 0.5768 MB / 0.6929 GB, free: 44.83 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 8.465e-05/0.5047, allocations: 187.1 kB / 0.693 GB, free: 44.71 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001297/0.5049, allocations: 160 kB / 0.6932 GB, free: 44.68 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 9.625e-05/0.505, allocations: 0.5681 MB / 0.6938 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.653e-05/0.5051, allocations: 72.47 kB / 0.6938 GB, free: 44.19 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002573/0.5053, allocations: 0.7707 MB / 0.6946 GB, free: 43.32 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003853/0.5057, allocations: 0.5615 MB / 0.6951 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.941e-06/0.5057, allocations: 2.875 kB / 0.6951 GB, free: 42.9 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0005638/0.5063, allocations: 0.527 MB / 0.6956 GB, free: 42.81 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.5063, allocations: 14.53 kB / 0.6957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.109e-05/0.5063, allocations: 9.938 kB / 0.6957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.64e-05/0.5063, allocations: 12.28 kB / 0.6957 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000323/0.5066, allocations: 151 kB / 0.6958 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.233e-05/0.5066, allocations: 24.34 kB / 0.6958 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003745/0.507, allocations: 69.02 kB / 0.6959 GB, free: 42.77 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.5071, allocations: 34.75 kB / 0.6959 GB, free: 42.77 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * 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.0001766/0.5072, allocations: 198.3 kB / 0.6961 GB, free: 42.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.526e-05/0.5073, allocations: 99.55 kB / 0.6962 GB, free: 42.56 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004096/0.5077, allocations: 352.2 kB / 0.6966 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.979e-06/0.5077, allocations: 4.891 kB / 0.6966 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.346e-06/0.5078, allocations: 2.938 kB / 0.6966 GB, free: 42.5 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000237/0.508, allocations: 259.3 kB / 0.6968 GB, free: 42.43 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001083/0.5091, allocations: 1.027 MB / 0.6978 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.5091, allocations: 0 / 0.6978 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002792/0.5094, allocations: 112.7 kB / 0.6979 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.5094, allocations: 7.141 kB / 0.6979 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.681e-05/0.5094, allocations: 13.44 kB / 0.698 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.018e-06/0.5094, allocations: 2.438 kB / 0.698 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.437e-06/0.5094, allocations: 3.531 kB / 0.698 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005252/0.5099, allocations: 0.6204 MB / 0.6986 GB, free: 41.73 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001581/0.5101, allocations: 131.2 kB / 0.6987 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.92e-05/0.5101, allocations: 14.41 kB / 0.6987 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002102/0.5103, allocations: 18.44 kB / 0.6987 GB, free: 41.68 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.641e-05/0.5104, allocations: 39.36 kB / 0.6988 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.308e-05/0.5104, allocations: 15.03 kB / 0.6988 GB, free: 41.67 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002263/0.5106, allocations: 385.4 kB / 0.6991 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.01e-07/0.5106, allocations: 2.031 kB / 0.6991 GB, free: 41.54 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007218/0.5114, allocations: 307.6 kB / 0.6994 GB, free: 41.49 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1]) * 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 (49): * Single equations (assignments): 49 * 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.0003836/0.5117, allocations: 176.6 kB / 0.6996 GB, free: 41.39 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004128/0.5122, allocations: 326.1 kB / 0.6999 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.5122, allocations: 2.141 kB / 0.6999 GB, free: 41.37 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001355/0.5123, allocations: 142 kB / 0.7001 GB, free: 41.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001004/0.5133, allocations: 386.8 kB / 0.7004 GB, free: 41.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002182/0.5155, allocations: 1.652 MB / 0.702 GB, free: 40.56 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001586/0.5156, allocations: 248.8 kB / 0.7023 GB, free: 40.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0004344/0.5161, allocations: 122.1 kB / 0.7024 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005634/0.5166, allocations: 385.5 kB / 0.7028 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of SimCode: time 8.22e-07/0.5166, allocations: 0.5625 kB / 0.7028 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of Templates: time 0.02252/0.5392, allocations: 15.58 MB / 0.718 GB, free: 39 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.883053761906922]