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.001756/0.001756, allocations: 102.6 kB / 16.45 MB, free: 6.449 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.002097/0.002097, allocations: 210.4 kB / 19.43 MB, free: 3.637 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.463/1.463, allocations: 230.6 MB / 252.8 MB, free: 9.129 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.1333/0.1333, allocations: 23.87 MB / 332.7 MB, free: 12.33 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.002266/0.002266, allocations: 71.89 kB / 466.5 MB, free: 9.523 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3163/0.3185, allocations: 59.83 MB / 0.514 GB, free: 9.141 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.04112/0.3596, allocations: 27.8 MB / 0.5412 GB, free: 12.88 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02465/0.3843, allocations: 18.28 MB / 0.559 GB, free: 12.02 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001289/0.3856, allocations: 27.75 kB / 0.5591 GB, free: 11.99 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001396/0.387, allocations: 471 kB / 0.5595 GB, free: 11.62 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002821/0.3898, allocations: 0.8399 MB / 0.5603 GB, free: 10.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008382/0.3982, allocations: 2.819 MB / 0.5631 GB, free: 8.57 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.00338/0.4016, allocations: 1.639 MB / 0.5647 GB, free: 7.086 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001557/0.4031, allocations: 0.7578 MB / 0.5654 GB, free: 6.48 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001272/0.4044, allocations: 0.7274 MB / 0.5661 GB, free: 5.781 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001175/0.4056, allocations: 0.8056 MB / 0.5669 GB, free: 4.973 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002045/0.4058, allocations: 140 kB / 0.567 GB, free: 4.836 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.006376/0.4122, allocations: 1.79 MB / 0.5688 GB, free: 3.043 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004725/0.4126, allocations: 362.8 kB / 0.5691 GB, free: 2.688 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008422/0.4135, allocations: 0.7388 MB / 0.5699 GB, free: 1.945 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007606/0.4211, allocations: 3.587 MB / 0.5734 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.001e-06/0.4211, allocations: 0 / 0.5734 GB, free: 14.34 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.4211, allocations: 0 / 0.5734 GB, free: 14.34 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.023e-05/0.4211, allocations: 0 / 0.5734 GB, free: 14.34 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: 303 * Number of variables: 303 Notification: Performance of Generate backend data structure: time 0.00337/0.4245, allocations: 1.972 MB / 0.5753 GB, free: 12.31 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.4245, allocations: 11.97 kB / 0.5753 GB, free: 12.3 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001641/0.4261, allocations: 407.1 kB / 0.5757 GB, free: 11.9 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001643/0.4278, allocations: 0.9815 MB / 0.5767 GB, free: 10.88 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000162/0.428, allocations: 154.1 kB / 0.5768 GB, free: 10.71 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002111/0.4282, allocations: 116 kB / 0.5769 GB, free: 10.6 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002754/0.4309, allocations: 1.649 MB / 0.5785 GB, free: 8.879 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.988e-05/0.4309, allocations: 7.938 kB / 0.5785 GB, free: 8.871 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001469/0.4311, allocations: 51.98 kB / 0.5786 GB, free: 8.82 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.606e-05/0.4311, allocations: 32 kB / 0.5786 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003449/0.4346, allocations: 2.104 MB / 0.5807 GB, free: 6.684 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008334/0.4429, allocations: 5.452 MB / 0.586 GB, free: 1.039 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001434/0.4443, allocations: 0.682 MB / 0.5867 GB, free: 336 kB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006468/0.445, allocations: 336.4 kB / 0.587 GB, free: 15.99 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007993/0.453, allocations: 5.059 MB / 0.5919 GB, free: 10.35 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.004e-05/0.453, allocations: 34.56 kB / 0.5919 GB, free: 10.3 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000277/0.4533, allocations: 83.19 kB / 0.592 GB, free: 10.22 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 2.375e-06/0.4533, allocations: 0 / 0.592 GB, free: 10.22 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001562/0.4548, allocations: 0.7544 MB / 0.5928 GB, free: 9.418 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.21e-05/0.4549, allocations: 110.8 kB / 0.5929 GB, free: 9.285 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001534/0.4565, allocations: 1.195 MB / 0.594 GB, free: 8.074 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.915e-05/0.4565, allocations: 29.7 kB / 0.5941 GB, free: 8.039 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000634/0.4571, allocations: 0.7984 MB / 0.5948 GB, free: 7.23 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001341/0.4573, allocations: 150.8 kB / 0.595 GB, free: 7.082 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003656/0.4576, allocations: 271 kB / 0.5952 GB, free: 6.812 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4578, allocations: 353.9 kB / 0.5956 GB, free: 6.461 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005511/0.4584, allocations: 318.5 kB / 0.5959 GB, free: 6.148 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001201/0.4596, allocations: 1.046 MB / 0.5969 GB, free: 4.734 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001834/0.4614, allocations: 1.395 MB / 0.5983 GB, free: 2.973 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.621e-05/0.4614, allocations: 8 kB / 0.5983 GB, free: 2.965 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002524/0.4639, allocations: 1.44 MB / 0.5997 GB, free: 1.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.25e-05/0.464, allocations: 19.98 kB / 0.5997 GB, free: 1.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.406e-05/0.464, allocations: 31.92 kB / 0.5997 GB, free: 1.461 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006582/0.4647, allocations: 158 kB / 0.5999 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001212/0.4659, allocations: 371.4 kB / 0.6002 GB, free: 0.9375 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003529/0.4694, allocations: 4.081 MB / 0.6042 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008994/0.4703, allocations: 72.11 kB / 0.6043 GB, free: 12.45 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001499/0.4705, allocations: 95.98 kB / 0.6044 GB, free: 12.35 MB / 462.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.0005319/0.471, allocations: 328.7 kB / 0.6047 GB, free: 12.02 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002132/0.4712, allocations: 103.3 kB / 0.6048 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001791/0.473, allocations: 0.8454 MB / 0.6056 GB, free: 11.04 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.391e-06/0.473, allocations: 7.938 kB / 0.6056 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.803e-06/0.473, allocations: 0 / 0.6056 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.473, allocations: 0 / 0.6056 GB, free: 11.03 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002252/0.4753, allocations: 1.267 MB / 0.6069 GB, free: 9.68 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/0.4753, allocations: 4 kB / 0.6069 GB, free: 9.676 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002794/0.4755, allocations: 59.95 kB / 0.6069 GB, free: 9.617 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000817/0.4764, allocations: 171.3 kB / 0.6071 GB, free: 9.438 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.691e-05/0.4764, allocations: 19.98 kB / 0.6071 GB, free: 9.418 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003464/0.4799, allocations: 3.951 MB / 0.611 GB, free: 5.121 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.136e-06/0.4799, allocations: 7.922 kB / 0.611 GB, free: 5.113 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001492/0.4814, allocations: 0.8578 MB / 0.6118 GB, free: 4.207 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00031/0.4817, allocations: 184.4 kB / 0.612 GB, free: 4.008 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001285/0.4818, allocations: 8 kB / 0.612 GB, free: 4 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003929/0.4822, allocations: 12 kB / 0.612 GB, free: 3.988 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.127e-05/0.4823, allocations: 35.84 kB / 0.612 GB, free: 3.953 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.579e-05/0.4823, allocations: 19.98 kB / 0.6121 GB, free: 3.934 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001223/0.4835, allocations: 0.881 MB / 0.6129 GB, free: 3.047 MB / 462.1 MB Notification: Performance of sort global known variables: time 8e-08/0.4835, allocations: 0 / 0.6129 GB, free: 3.047 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.002032/0.4856, allocations: 0.6306 MB / 0.6135 GB, free: 2.414 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.001401/0.487, allocations: 0.7466 MB / 0.6143 GB, free: 1.656 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001824/0.4888, allocations: 0.7693 MB / 0.615 GB, free: 0.8945 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 6.712e-06/0.4888, allocations: 4 kB / 0.615 GB, free: 0.8906 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005986/0.4894, allocations: 377.8 kB / 0.6154 GB, free: 0.4961 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.4905, allocations: 176.6 kB / 0.6155 GB, free: 332 kB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003123/0.4937, allocations: 1.836 MB / 0.6173 GB, free: 14.43 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008155/0.4945, allocations: 1.063 MB / 0.6184 GB, free: 13.34 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008096/0.4953, allocations: 281.5 kB / 0.6186 GB, free: 13.09 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002848/0.4956, allocations: 143.4 kB / 0.6188 GB, free: 12.95 MB / 478.1 MB Notification: Performance of SimCode: time 6.41e-07/0.4956, allocations: 0 / 0.6188 GB, free: 12.95 MB / 478.1 MB Notification: Performance of Templates: time 0.03398/0.5295, allocations: 19.51 MB / 0.6378 GB, free: 9.5 MB / 494.1 MB " [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: 5.5274941199459136] Failed to read output from testmodel.py, exit status != 0: 0.5388022419065237 0.552174432 0.12798336100000002 Calling exit ...