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.0007703/0.0007703, allocations: 119 kB / 19.7 MB, free: 0.5273 MB / 13.93 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.0007911/0.0007911, allocations: 207.8 kB / 23 MB, free: 3.125 MB / 13.93 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.8934/0.8934, allocations: 230.6 MB / 256.8 MB, free: 3.469 MB / 202.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-531:190: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-531:198: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.7508/0.7508, allocations: 203.8 MB / 0.5049 GB, free: 0.6914 MB / 410.7 MB " [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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.000898/0.000898, allocations: 73.45 kB / 0.7195 GB, free: 14.42 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4475/0.4484, allocations: 102 MB / 0.8191 GB, free: 25.23 MB / 0.6355 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1575/0.6058, allocations: 199.2 MB / 1.014 GB, free: 11.36 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.01122/0.617, allocations: 14.51 MB / 1.028 GB, free: 12.81 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006516/0.6177, allocations: 47.62 kB / 1.028 GB, free: 12.77 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.001025/0.6187, allocations: 0.5124 MB / 1.028 GB, free: 12.25 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.002713/0.6214, allocations: 2.011 MB / 1.03 GB, free: 10.23 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.001323/0.6228, allocations: 0.9139 MB / 1.031 GB, free: 9.324 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.001901/0.6247, allocations: 2.628 MB / 1.034 GB, free: 6.688 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009244/0.6256, allocations: 0.8069 MB / 1.035 GB, free: 5.859 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003079/0.6287, allocations: 1.907 MB / 1.036 GB, free: 3.965 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001133/0.6298, allocations: 0.9716 MB / 1.037 GB, free: 2.992 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 0.000156/0.6299, allocations: 111.9 kB / 1.037 GB, free: 2.883 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001531/0.6315, allocations: 1.169 MB / 1.039 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.000323/0.6318, allocations: 0.5025 MB / 1.039 GB, free: 1.207 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 0.0004931/0.6323, allocations: 0.6338 MB / 1.04 GB, free: 0.5703 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.001733/0.634, allocations: 1.923 MB / 1.042 GB, free: 14.64 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.634, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.823 GB Notification: Performance of FrontEnd: time 1.763e-06/0.634, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.823 GB Notification: Performance of Transformations before backend: time 2.332e-05/0.6341, allocations: 0 / 1.042 GB, free: 14.64 MB / 0.823 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.001496/0.6356, allocations: 1.415 MB / 1.043 GB, free: 13.19 MB / 0.823 GB Notification: Performance of prepare preOptimizeDAE: time 3.126e-05/0.6356, allocations: 9.469 kB / 1.043 GB, free: 13.18 MB / 0.823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007473/0.6363, allocations: 263 kB / 1.043 GB, free: 12.93 MB / 0.823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008669/0.6372, allocations: 0.7331 MB / 1.044 GB, free: 12.16 MB / 0.823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.599e-05/0.6372, allocations: 70 kB / 1.044 GB, free: 12.09 MB / 0.823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.888e-05/0.6373, allocations: 95.95 kB / 1.044 GB, free: 12 MB / 0.823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001108/0.6384, allocations: 1.174 MB / 1.045 GB, free: 10.76 MB / 0.823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.6385, allocations: 7.938 kB / 1.045 GB, free: 10.75 MB / 0.823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.53e-05/0.6385, allocations: 47.92 kB / 1.045 GB, free: 10.7 MB / 0.823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.592e-05/0.6385, allocations: 30 kB / 1.045 GB, free: 10.67 MB / 0.823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009135/0.6395, allocations: 0.9015 MB / 1.046 GB, free: 9.77 MB / 0.823 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.003738/0.6432, allocations: 5.76 MB / 1.052 GB, free: 3.539 MB / 0.823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005893/0.6438, allocations: 0.5081 MB / 1.052 GB, free: 3.02 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002684/0.6441, allocations: 300.6 kB / 1.053 GB, free: 2.723 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002352/0.6443, allocations: 80.42 kB / 1.053 GB, free: 2.645 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.372e-05/0.6443, allocations: 42.98 kB / 1.053 GB, free: 2.594 MB / 0.823 GB Notification: Performance of pre-optimization done (n=49): time 1.463e-06/0.6443, allocations: 0 / 1.053 GB, free: 2.594 MB / 0.823 GB Notification: Performance of matching and sorting (n=49): time 0.000944/0.6453, allocations: 0.8108 MB / 1.054 GB, free: 1.781 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.509e-05/0.6453, allocations: 55.84 kB / 1.054 GB, free: 1.715 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006078/0.6459, allocations: 0.751 MB / 1.054 GB, free: 0.957 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 3.714e-05/0.6459, allocations: 37.7 kB / 1.054 GB, free: 0.9141 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002635/0.6462, allocations: 0.5272 MB / 1.055 GB, free: 388 kB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001098/0.6463, allocations: 186.4 kB / 1.055 GB, free: 200 kB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001326/0.6464, allocations: 142.6 kB / 1.055 GB, free: 48 kB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.6466, allocations: 337.9 kB / 1.056 GB, free: 15.71 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002674/0.6468, allocations: 245.9 kB / 1.056 GB, free: 15.47 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.6472, allocations: 0.5508 MB / 1.056 GB, free: 14.79 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008827/0.6481, allocations: 0.8034 MB / 1.057 GB, free: 13.88 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.7e-06/0.6481, allocations: 4 kB / 1.057 GB, free: 13.87 MB / 0.8386 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0008337/0.649, allocations: 0.8512 MB / 1.058 GB, free: 13.01 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.6e-05/0.649, allocations: 8 kB / 1.058 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.649, allocations: 8 kB / 1.058 GB, free: 13 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.722e-05/0.649, allocations: 16.03 kB / 1.058 GB, free: 12.98 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002954/0.6493, allocations: 151.8 kB / 1.058 GB, free: 12.83 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.407e-05/0.6493, allocations: 19.92 kB / 1.058 GB, free: 12.81 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.6496, allocations: 87.39 kB / 1.058 GB, free: 12.73 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.327e-05/0.6497, allocations: 35.94 kB / 1.058 GB, free: 12.69 MB / 0.8386 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.0002807/0.65, allocations: 330.5 kB / 1.059 GB, free: 12.36 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.973e-05/0.65, allocations: 99.47 kB / 1.059 GB, free: 12.26 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006282/0.6507, allocations: 0.6141 MB / 1.059 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.258e-06/0.6507, allocations: 4 kB / 1.059 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.6507, allocations: 0 / 1.059 GB, free: 11.64 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004521/0.6511, allocations: 0.5211 MB / 1.06 GB, free: 11.11 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0015/0.6526, allocations: 1.65 MB / 1.061 GB, free: 9.383 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.234e-06/0.6526, allocations: 7.938 kB / 1.061 GB, free: 9.375 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002641/0.6529, allocations: 107.9 kB / 1.061 GB, free: 9.27 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.439e-06/0.6529, allocations: 7.938 kB / 1.061 GB, free: 9.262 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.55e-05/0.6529, allocations: 20 kB / 1.061 GB, free: 9.242 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/0.6529, allocations: 8.219 kB / 1.061 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6529, allocations: 0 / 1.061 GB, free: 9.234 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008629/0.6538, allocations: 1.015 MB / 1.062 GB, free: 8.18 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001886/0.654, allocations: 159.2 kB / 1.063 GB, free: 8.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.346e-05/0.6541, allocations: 12 kB / 1.063 GB, free: 8.012 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002059/0.6543, allocations: 19.98 kB / 1.063 GB, free: 7.992 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.805e-05/0.6543, allocations: 27.95 kB / 1.063 GB, free: 7.965 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.23e-05/0.6543, allocations: 19.98 kB / 1.063 GB, free: 7.945 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0004081/0.6547, allocations: 0.5146 MB / 1.063 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.6547, allocations: 0 / 1.063 GB, free: 7.434 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0005262/0.6553, allocations: 299.5 kB / 1.064 GB, free: 7.141 MB / 0.8386 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.0003317/0.6556, allocations: 200 kB / 1.064 GB, free: 6.945 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.00059/0.6562, allocations: 0.5887 MB / 1.064 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.6562, allocations: 0 / 1.064 GB, free: 6.359 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002228/0.6564, allocations: 256 kB / 1.065 GB, free: 6.109 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009886/0.6574, allocations: 436.8 kB / 1.065 GB, free: 5.695 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00202/0.6594, allocations: 2.038 MB / 1.067 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000473/0.6599, allocations: 1.126 MB / 1.068 GB, free: 2.445 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001419/0.66, allocations: 83.42 kB / 1.068 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of SimCode: time 7.41e-07/0.66, allocations: 0 / 1.068 GB, free: 2.363 MB / 0.8386 GB Notification: Performance of Templates: time 0.01354/0.6736, allocations: 14.74 MB / 1.082 GB, free: 3.777 MB / 0.8542 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 8.359404563205317] Failed to read output from testmodel.py, exit status != 0: 0.679118235129863 0.686306126 0.050588916000000005 Calling exit ...