Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.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.001323/0.001323, allocations: 92.42 kB / 19.7 MB, free: 2.137 MB / 14.72 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.001427/0.001427, allocations: 212.5 kB / 22.99 MB, free: 4.953 MB / 14.72 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.431/1.431, allocations: 230.6 MB / 256.8 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/package.mo): time 0.1433/0.1433, allocations: 23.93 MB / 337.1 MB, free: 10.9 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 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(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") [Timeout 660] "Notification: Chemical 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.002049/0.002049, allocations: 67.89 kB / 472.4 MB, free: 6.922 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3534/0.3554, allocations: 59.88 MB / 0.5198 GB, free: 9.781 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Warning: An inner declaration for outer component system could not be found and was automatically generated. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical master/Obsolete.mo:14335:7-14335:66:writable] Notification: The diagnostics message for the missing inner is: Your model is using an outer \"system\" component but an inner \"system\" component is not defined. For simulation drag Modelica.Fluid.System into your model to specify system properties. Notification: Performance of NFInst.instantiate(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell): time 0.07489/0.4303, allocations: 27.63 MB / 0.5468 GB, free: 12.04 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02688/0.4572, allocations: 19.03 MB / 0.5654 GB, free: 10.71 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001706/0.4589, allocations: 31.75 kB / 0.5654 GB, free: 10.68 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001714/0.4606, allocations: 489.2 kB / 0.5659 GB, free: 10.31 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003509/0.4641, allocations: 0.9634 MB / 0.5668 GB, free: 9.496 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01007/0.4742, allocations: 3.345 MB / 0.5701 GB, free: 6.258 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003165/0.4774, allocations: 1.809 MB / 0.5719 GB, free: 4.441 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001093/0.4785, allocations: 0.7588 MB / 0.5726 GB, free: 3.66 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009295/0.4794, allocations: 0.8024 MB / 0.5734 GB, free: 2.855 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001208/0.4806, allocations: 0.899 MB / 0.5743 GB, free: 1.953 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002569/0.4809, allocations: 148 kB / 0.5744 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005578/0.4864, allocations: 2.02 MB / 0.5764 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005206/0.487, allocations: 378.8 kB / 0.5768 GB, free: 15.41 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008538/0.4878, allocations: 0.669 MB / 0.5774 GB, free: 14.74 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008882/0.4967, allocations: 4.054 MB / 0.5814 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.952e-06/0.4967, allocations: 0 / 0.5814 GB, free: 10.67 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.4967, allocations: 0 / 0.5814 GB, free: 10.67 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.38e-05/0.4967, allocations: 0 / 0.5814 GB, free: 10.67 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 323 * Number of variables: 323 Notification: Performance of Generate backend data structure: time 0.003844/0.5006, allocations: 2.064 MB / 0.5834 GB, free: 8.566 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.749e-05/0.5006, allocations: 12.03 kB / 0.5834 GB, free: 8.555 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001835/0.5025, allocations: 447 kB / 0.5838 GB, free: 8.117 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00196/0.5044, allocations: 0.9919 MB / 0.5848 GB, free: 7.098 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.5046, allocations: 205.7 kB / 0.585 GB, free: 6.871 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002279/0.5048, allocations: 132 kB / 0.5851 GB, free: 6.742 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002766/0.5076, allocations: 1.764 MB / 0.5868 GB, free: 4.906 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.082e-05/0.5076, allocations: 4 kB / 0.5868 GB, free: 4.902 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001325/0.5078, allocations: 48 kB / 0.5869 GB, free: 4.855 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.635e-05/0.5078, allocations: 32 kB / 0.5869 GB, free: 4.824 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.5112, allocations: 2.307 MB / 0.5892 GB, free: 2.512 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007979/0.5192, allocations: 4.818 MB / 0.5939 GB, free: 13.58 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001377/0.5206, allocations: 0.7016 MB / 0.5946 GB, free: 12.86 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005836/0.5212, allocations: 336.4 kB / 0.5949 GB, free: 12.52 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006927/0.5281, allocations: 2.849 MB / 0.5977 GB, free: 9.645 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.809e-05/0.5281, allocations: 42.5 kB / 0.5977 GB, free: 9.594 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 3.587e-06/0.5282, allocations: 0 / 0.5977 GB, free: 9.594 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001537/0.5297, allocations: 0.6349 MB / 0.5983 GB, free: 8.945 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.648e-05/0.5298, allocations: 114.8 kB / 0.5984 GB, free: 8.809 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001472/0.5312, allocations: 1.249 MB / 0.5996 GB, free: 7.543 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.991e-05/0.5313, allocations: 29.7 kB / 0.5997 GB, free: 7.508 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006574/0.5319, allocations: 0.8723 MB / 0.6005 GB, free: 6.625 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001367/0.5321, allocations: 150.8 kB / 0.6007 GB, free: 6.477 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003579/0.5324, allocations: 295.3 kB / 0.601 GB, free: 6.184 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001756/0.5326, allocations: 353.9 kB / 0.6013 GB, free: 5.832 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005445/0.5331, allocations: 352.1 kB / 0.6016 GB, free: 5.488 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001253/0.5344, allocations: 1.156 MB / 0.6028 GB, free: 3.922 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001855/0.5363, allocations: 1.537 MB / 0.6043 GB, free: 1.977 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.539e-05/0.5363, allocations: 8 kB / 0.6043 GB, free: 1.969 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002567/0.5388, allocations: 1.547 MB / 0.6058 GB, free: 420 kB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.395e-05/0.5389, allocations: 20 kB / 0.6058 GB, free: 400 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.303e-05/0.5389, allocations: 32.81 kB / 0.6058 GB, free: 368 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006262/0.5395, allocations: 165.3 kB / 0.606 GB, free: 196 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001194/0.5407, allocations: 395.4 kB / 0.6064 GB, free: 15.8 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003119/0.5438, allocations: 3.837 MB / 0.6101 GB, free: 11.7 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001021/0.5449, allocations: 174.7 kB / 0.6103 GB, free: 11.53 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001555/0.545, allocations: 99.98 kB / 0.6104 GB, free: 11.43 MB / 462.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 133 * 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 (167): * Single equations (assignments): 163 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0005635/0.5456, allocations: 333.2 kB / 0.6107 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002192/0.5458, allocations: 111.2 kB / 0.6108 GB, free: 10.99 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001795/0.5476, allocations: 0.9327 MB / 0.6117 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.903e-06/0.5476, allocations: 4 kB / 0.6117 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.5476, allocations: 7.984 kB / 0.6117 GB, free: 9.996 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.5476, allocations: 3.938 kB / 0.6117 GB, free: 9.992 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002053/0.5497, allocations: 1.166 MB / 0.6129 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.5497, allocations: 0 / 0.6129 GB, free: 8.754 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002532/0.5499, allocations: 63.91 kB / 0.6129 GB, free: 8.691 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007111/0.5506, allocations: 175.3 kB / 0.6131 GB, free: 8.508 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.392e-05/0.5507, allocations: 19.98 kB / 0.6131 GB, free: 8.488 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002876/0.5536, allocations: 3.691 MB / 0.6167 GB, free: 4.531 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.5536, allocations: 4.031 kB / 0.6167 GB, free: 4.527 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001347/0.5549, allocations: 0.9038 MB / 0.6176 GB, free: 3.566 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002373/0.5551, allocations: 99.2 kB / 0.6177 GB, free: 3.469 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001323/0.5553, allocations: 15.89 kB / 0.6177 GB, free: 3.453 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000363/0.5556, allocations: 12 kB / 0.6177 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.5557, allocations: 39.88 kB / 0.6178 GB, free: 3.402 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.536e-05/0.5557, allocations: 20 kB / 0.6178 GB, free: 3.383 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001111/0.5569, allocations: 0.8807 MB / 0.6186 GB, free: 2.496 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5569, allocations: 0 / 0.6186 GB, free: 2.496 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002162/0.559, allocations: 0.7239 MB / 0.6193 GB, free: 1.77 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 2 (cathode.temperature,anode.temperature) * 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 (30): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001466/0.5605, allocations: 0.8548 MB / 0.6202 GB, free: 0.9062 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001703/0.5622, allocations: 0.8181 MB / 0.621 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 5.44e-06/0.5622, allocations: 0 / 0.621 GB, free: 96 kB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005468/0.5627, allocations: 390.3 kB / 0.6213 GB, free: 15.69 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00101/0.5638, allocations: 154.4 kB / 0.6215 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003105/0.5669, allocations: 2.027 MB / 0.6235 GB, free: 13.45 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005352/0.5674, allocations: 0.5032 MB / 0.624 GB, free: 12.91 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004072/0.5678, allocations: 215.2 kB / 0.6242 GB, free: 12.7 MB / 478.1 MB Notification: Performance of SimCode: time 8.02e-07/0.5678, allocations: 0 / 0.6242 GB, free: 12.7 MB / 478.1 MB Notification: Performance of Templates: time 0.04937/0.6172, allocations: 40.89 MB / 0.6641 GB, free: 3.867 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 10.188680249964818] Failed to read output from testmodel.py, exit status != 0: 0.626038343005348 0.639714498 0.139990796 Calling exit ...