Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.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.001374/0.001374, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.001476/0.001476, allocations: 213.4 kB / 22.99 MB, free: 4.945 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.43/1.43, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.1372/0.1372, allocations: 24 MB / 337.2 MB, free: 10.86 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") [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.002103/0.002103, allocations: 63.89 kB / 472.5 MB, free: 6.855 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3542/0.3563, allocations: 59.9 MB / 0.52 GB, free: 9.738 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.StandardElectrochemicalCell2): time 0.07304/0.4293, allocations: 27.19 MB / 0.5465 GB, free: 12.36 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02359/0.4529, allocations: 16.05 MB / 0.5622 GB, free: 13.75 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001521/0.4544, allocations: 23.81 kB / 0.5622 GB, free: 13.72 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001877/0.4563, allocations: 427 kB / 0.5626 GB, free: 13.4 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003596/0.4599, allocations: 0.8141 MB / 0.5634 GB, free: 12.71 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009356/0.4693, allocations: 2.847 MB / 0.5662 GB, free: 10.32 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003135/0.4724, allocations: 1.637 MB / 0.5678 GB, free: 8.691 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001141/0.4735, allocations: 0.7194 MB / 0.5685 GB, free: 7.949 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000936/0.4745, allocations: 0.7245 MB / 0.5692 GB, free: 7.223 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00111/0.4756, allocations: 0.7351 MB / 0.5699 GB, free: 6.484 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002386/0.4758, allocations: 144 kB / 0.5701 GB, free: 6.344 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0053/0.4811, allocations: 1.665 MB / 0.5717 GB, free: 4.676 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005418/0.4817, allocations: 366.8 kB / 0.572 GB, free: 4.316 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0009126/0.4826, allocations: 0.6224 MB / 0.5726 GB, free: 3.691 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.009168/0.4918, allocations: 3.572 MB / 0.5761 GB, free: 108 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.723e-06/0.4918, allocations: 0 / 0.5761 GB, free: 108 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.244e-06/0.4918, allocations: 0 / 0.5761 GB, free: 108 kB / 414.1 MB Notification: Performance of Transformations before backend: time 3.936e-05/0.4918, allocations: 3.938 kB / 0.5761 GB, free: 104 kB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.003661/0.4955, allocations: 1.893 MB / 0.578 GB, free: 14.16 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.403e-05/0.4955, allocations: 8.031 kB / 0.578 GB, free: 14.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001741/0.4973, allocations: 399.1 kB / 0.5784 GB, free: 13.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002265/0.4995, allocations: 0.9119 MB / 0.5793 GB, free: 12.82 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002366/0.4998, allocations: 201.5 kB / 0.5794 GB, free: 12.6 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002527/0.5, allocations: 124 kB / 0.5796 GB, free: 12.48 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002829/0.5028, allocations: 1.668 MB / 0.5812 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.848e-05/0.5029, allocations: 0 / 0.5812 GB, free: 10.74 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000138/0.503, allocations: 48 kB / 0.5812 GB, free: 10.69 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.053e-05/0.503, allocations: 31.94 kB / 0.5813 GB, free: 10.66 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003304/0.5063, allocations: 2.1 MB / 0.5833 GB, free: 8.559 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008744/0.5151, allocations: 4.71 MB / 0.5879 GB, free: 3.734 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001423/0.5165, allocations: 0.682 MB / 0.5886 GB, free: 3.027 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005897/0.5171, allocations: 328.4 kB / 0.5889 GB, free: 2.699 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006587/0.5237, allocations: 2.647 MB / 0.5915 GB, free: 24 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.605e-05/0.5237, allocations: 42.55 kB / 0.5915 GB, free: 15.97 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003356/0.5241, allocations: 63.36 kB / 0.5916 GB, free: 15.91 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 3.075e-06/0.5241, allocations: 0 / 0.5916 GB, free: 15.91 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001436/0.5255, allocations: 0.6043 MB / 0.5922 GB, free: 15.29 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.326e-05/0.5256, allocations: 106.8 kB / 0.5923 GB, free: 15.16 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001491/0.5271, allocations: 1.162 MB / 0.5934 GB, free: 13.98 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.277e-05/0.5271, allocations: 29.7 kB / 0.5934 GB, free: 13.95 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006169/0.5277, allocations: 0.8178 MB / 0.5942 GB, free: 13.12 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001196/0.5279, allocations: 134.9 kB / 0.5944 GB, free: 12.98 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003608/0.5282, allocations: 274.7 kB / 0.5946 GB, free: 12.71 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002178/0.5284, allocations: 402.7 kB / 0.595 GB, free: 12.31 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005231/0.529, allocations: 326.5 kB / 0.5953 GB, free: 11.99 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001187/0.5301, allocations: 1.054 MB / 0.5964 GB, free: 10.57 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001776/0.5319, allocations: 1.415 MB / 0.5977 GB, free: 8.793 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.479e-05/0.5319, allocations: 8 kB / 0.5977 GB, free: 8.785 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002393/0.5343, allocations: 1.441 MB / 0.5992 GB, free: 7.332 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.31e-05/0.5344, allocations: 16 kB / 0.5992 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.485e-05/0.5344, allocations: 28.03 kB / 0.5992 GB, free: 7.289 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/0.5351, allocations: 157.3 kB / 0.5993 GB, free: 7.129 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5362, allocations: 375.4 kB / 0.5997 GB, free: 6.762 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003287/0.5395, allocations: 3.824 MB / 0.6034 GB, free: 2.676 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008908/0.5404, allocations: 76.11 kB / 0.6035 GB, free: 2.602 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001442/0.5405, allocations: 91.98 kB / 0.6036 GB, free: 2.512 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 119 * 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 (155): * Single equations (assignments): 151 * 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.000503/0.541, allocations: 309.1 kB / 0.6039 GB, free: 2.199 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.5412, allocations: 103.4 kB / 0.604 GB, free: 2.098 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001684/0.5429, allocations: 0.8464 MB / 0.6048 GB, free: 1.211 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.272e-06/0.5429, allocations: 4 kB / 0.6048 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.225e-06/0.5429, allocations: 0 / 0.6048 GB, free: 1.207 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.961e-06/0.5429, allocations: 3.984 kB / 0.6048 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00193/0.5448, allocations: 1.065 MB / 0.6059 GB, free: 76 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.464e-06/0.5448, allocations: 4 kB / 0.6059 GB, free: 72 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.5451, allocations: 59.95 kB / 0.6059 GB, free: 12 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000754/0.5458, allocations: 175.4 kB / 0.6061 GB, free: 15.83 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.281e-05/0.5459, allocations: 15.98 kB / 0.6061 GB, free: 15.81 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003018/0.5489, allocations: 3.706 MB / 0.6097 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.5489, allocations: 4.375 kB / 0.6097 GB, free: 11.83 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001359/0.5503, allocations: 0.8427 MB / 0.6106 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002154/0.5505, allocations: 87.31 kB / 0.6106 GB, free: 10.85 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001201/0.5506, allocations: 15.92 kB / 0.6107 GB, free: 10.83 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.5509, allocations: 8 kB / 0.6107 GB, free: 10.82 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.334e-05/0.551, allocations: 35.89 kB / 0.6107 GB, free: 10.79 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.303e-05/0.5511, allocations: 20 kB / 0.6107 GB, free: 10.77 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001092/0.5522, allocations: 0.8231 MB / 0.6115 GB, free: 9.938 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.5522, allocations: 0 / 0.6115 GB, free: 9.938 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002108/0.5543, allocations: 0.6383 MB / 0.6121 GB, free: 9.297 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (27): * Single equations (assignments): 23 * 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.001388/0.5557, allocations: 0.7427 MB / 0.6129 GB, free: 8.547 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001777/0.5574, allocations: 0.7666 MB / 0.6136 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5574, allocations: 0 / 0.6136 GB, free: 7.785 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005814/0.558, allocations: 392.2 kB / 0.614 GB, free: 7.379 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009863/0.559, allocations: 144.4 kB / 0.6141 GB, free: 7.246 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003171/0.5622, allocations: 1.882 MB / 0.616 GB, free: 5.301 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005052/0.5627, allocations: 476.5 kB / 0.6164 GB, free: 4.801 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000381/0.5631, allocations: 187.3 kB / 0.6166 GB, free: 4.617 MB / 462.1 MB Notification: Performance of SimCode: time 5.01e-07/0.5631, allocations: 4 kB / 0.6166 GB, free: 4.613 MB / 462.1 MB Notification: Performance of Templates: time 0.0466/0.6097, allocations: 37.4 MB / 0.6531 GB, free: 15.27 MB / 0.4981 GB " [Timeout remaining time 659] make -j1 -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_master_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 9.687956070061773] Failed to read output from testmodel.py, exit status != 0: 0.6198048619553447 0.6335537649999999 0.138561726 Calling exit ...