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.001353/0.001353, allocations: 110.4 kB / 18.94 MB, free: 2.957 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.001564/0.001564, allocations: 215.8 kB / 22.25 MB, free: 5.133 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.454/1.454, allocations: 230.6 MB / 256 MB, free: 8 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.147/0.147, allocations: 23.9 MB / 336.3 MB, free: 11.16 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.00216/0.00216, allocations: 71.88 kB / 471.7 MB, free: 7.133 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2889/0.2911, allocations: 59.87 MB / 0.5191 GB, free: 9.812 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.03698/0.328, allocations: 27.85 MB / 0.5463 GB, free: 12.03 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02393/0.352, allocations: 18.32 MB / 0.5642 GB, free: 11.14 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001134/0.3531, allocations: 27.75 kB / 0.5642 GB, free: 11.11 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001525/0.3546, allocations: 471.5 kB / 0.5647 GB, free: 10.75 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002712/0.3573, allocations: 0.8456 MB / 0.5655 GB, free: 10.02 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.00904/0.3664, allocations: 2.85 MB / 0.5683 GB, free: 7.629 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003233/0.3696, allocations: 1.64 MB / 0.5699 GB, free: 6.035 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00152/0.3711, allocations: 0.7273 MB / 0.5706 GB, free: 5.285 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001203/0.3723, allocations: 0.7284 MB / 0.5713 GB, free: 4.555 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001466/0.3738, allocations: 0.8172 MB / 0.5721 GB, free: 3.734 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000394/0.3742, allocations: 148 kB / 0.5723 GB, free: 3.59 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005943/0.3801, allocations: 1.778 MB / 0.574 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005623/0.3807, allocations: 358.8 kB / 0.5743 GB, free: 1.457 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.001222/0.3819, allocations: 0.7466 MB / 0.5751 GB, free: 0.707 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008192/0.3901, allocations: 3.575 MB / 0.5786 GB, free: 13.12 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.013e-05/0.3901, allocations: 7.984 kB / 0.5786 GB, free: 13.11 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.3901, allocations: 0 / 0.5786 GB, free: 13.11 MB / 430.1 MB Notification: Performance of Transformations before backend: time 5.859e-05/0.3902, allocations: 0 / 0.5786 GB, free: 13.11 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.004086/0.3943, allocations: 1.901 MB / 0.5804 GB, free: 11.17 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.353e-05/0.3943, allocations: 12.03 kB / 0.5804 GB, free: 11.16 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001771/0.3961, allocations: 395.1 kB / 0.5808 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001916/0.398, allocations: 0.9082 MB / 0.5817 GB, free: 9.832 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001947/0.3982, allocations: 201.5 kB / 0.5819 GB, free: 9.609 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002035/0.3984, allocations: 112 kB / 0.582 GB, free: 9.5 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00278/0.4012, allocations: 1.676 MB / 0.5836 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.08e-05/0.4012, allocations: 0 / 0.5836 GB, free: 7.75 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000135/0.4013, allocations: 52 kB / 0.5837 GB, free: 7.699 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.691e-05/0.4014, allocations: 32 kB / 0.5837 GB, free: 7.668 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003388/0.4048, allocations: 2.12 MB / 0.5858 GB, free: 5.547 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008684/0.4134, allocations: 5.392 MB / 0.5911 GB, free: 15.96 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.4148, allocations: 0.686 MB / 0.5917 GB, free: 15.25 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005929/0.4154, allocations: 336.3 kB / 0.592 GB, free: 14.92 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006739/0.4221, allocations: 2.773 MB / 0.5948 GB, free: 12.12 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.31e-05/0.4222, allocations: 38.56 kB / 0.5948 GB, free: 12.07 MB / 446.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002925/0.4225, allocations: 79.25 kB / 0.5949 GB, free: 11.99 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.843e-06/0.4225, allocations: 0 / 0.5949 GB, free: 11.99 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001435/0.4239, allocations: 0.6082 MB / 0.5955 GB, free: 11.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.296e-05/0.424, allocations: 110.8 kB / 0.5956 GB, free: 11.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00153/0.4255, allocations: 1.215 MB / 0.5968 GB, free: 10.01 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.206e-05/0.4255, allocations: 29.7 kB / 0.5968 GB, free: 9.973 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006335/0.4262, allocations: 0.7945 MB / 0.5976 GB, free: 9.168 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001267/0.4263, allocations: 154.8 kB / 0.5977 GB, free: 9.016 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003682/0.4267, allocations: 274.6 kB / 0.598 GB, free: 8.742 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001799/0.4269, allocations: 353.9 kB / 0.5983 GB, free: 8.391 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005431/0.4274, allocations: 326.5 kB / 0.5986 GB, free: 8.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001186/0.4286, allocations: 1.054 MB / 0.5996 GB, free: 6.656 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001804/0.4304, allocations: 1.407 MB / 0.601 GB, free: 4.883 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.278e-05/0.4304, allocations: 8 kB / 0.601 GB, free: 4.875 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002454/0.4329, allocations: 1.448 MB / 0.6024 GB, free: 3.414 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.946e-05/0.4329, allocations: 20 kB / 0.6025 GB, free: 3.395 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.383e-05/0.4329, allocations: 31.94 kB / 0.6025 GB, free: 3.363 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000631/0.4335, allocations: 153.4 kB / 0.6026 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001219/0.4348, allocations: 379.4 kB / 0.603 GB, free: 2.836 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003358/0.4381, allocations: 3.862 MB / 0.6068 GB, free: 14.68 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008488/0.439, allocations: 79.89 kB / 0.6068 GB, free: 14.61 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001354/0.4391, allocations: 95.98 kB / 0.6069 GB, free: 14.51 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.0004882/0.4396, allocations: 305.2 kB / 0.6072 GB, free: 14.2 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002032/0.4398, allocations: 107.3 kB / 0.6073 GB, free: 14.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001812/0.4416, allocations: 0.8524 MB / 0.6082 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.301e-06/0.4416, allocations: 8 kB / 0.6082 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.194e-06/0.4416, allocations: 0 / 0.6082 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.4416, allocations: 0 / 0.6082 GB, free: 13.2 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002272/0.4439, allocations: 1.238 MB / 0.6094 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.566e-06/0.4439, allocations: 0 / 0.6094 GB, free: 11.88 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002817/0.4442, allocations: 67.89 kB / 0.6094 GB, free: 11.82 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007664/0.4449, allocations: 167.5 kB / 0.6096 GB, free: 11.64 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.196e-05/0.445, allocations: 16 kB / 0.6096 GB, free: 11.62 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003224/0.4482, allocations: 3.748 MB / 0.6133 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.4482, allocations: 0 / 0.6133 GB, free: 7.582 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001333/0.4495, allocations: 0.8676 MB / 0.6141 GB, free: 6.664 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002134/0.4498, allocations: 95.28 kB / 0.6142 GB, free: 6.57 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001276/0.4499, allocations: 11.94 kB / 0.6142 GB, free: 6.559 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003889/0.4503, allocations: 12 kB / 0.6142 GB, free: 6.547 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.15e-05/0.4503, allocations: 39.94 kB / 0.6143 GB, free: 6.508 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.228e-05/0.4504, allocations: 20 kB / 0.6143 GB, free: 6.488 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001196/0.4516, allocations: 0.8888 MB / 0.6152 GB, free: 5.594 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.4516, allocations: 0 / 0.6152 GB, free: 5.594 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001876/0.4535, allocations: 0.6344 MB / 0.6158 GB, free: 4.957 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.001296/0.4548, allocations: 0.7424 MB / 0.6165 GB, free: 4.207 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0017/0.4565, allocations: 0.7724 MB / 0.6173 GB, free: 3.441 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.4565, allocations: 4.125 kB / 0.6173 GB, free: 3.438 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005551/0.457, allocations: 378.8 kB / 0.6176 GB, free: 3.043 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001064/0.4581, allocations: 178 kB / 0.6178 GB, free: 2.875 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002992/0.4611, allocations: 1.854 MB / 0.6196 GB, free: 0.9648 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007765/0.4618, allocations: 1.063 MB / 0.6206 GB, free: 15.88 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0008112/0.4627, allocations: 285.6 kB / 0.6209 GB, free: 15.61 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002674/0.4629, allocations: 135.4 kB / 0.621 GB, free: 15.48 MB / 478.1 MB Notification: Performance of SimCode: time 9.31e-07/0.4629, allocations: 4 kB / 0.6211 GB, free: 15.48 MB / 478.1 MB Notification: Performance of Templates: time 0.03501/0.4979, allocations: 20.14 MB / 0.6407 GB, free: 11.39 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.500793447252363] Failed to read output from testmodel.py, exit status != 0: 0.5069215721450746 0.5216747460000001 0.128275028 Calling exit ...