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.001668/0.001668, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002081/0.002081, allocations: 212.7 kB / 23 MB, free: 4.934 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.461/1.461, 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.1365/0.1365, allocations: 23.92 MB / 337.1 MB, free: 11.04 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.002079/0.002079, allocations: 79.88 kB / 472.4 MB, free: 6.973 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2977/0.2998, allocations: 59.87 MB / 0.5198 GB, free: 9.785 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.07251/0.3723, allocations: 27.11 MB / 0.5463 GB, free: 12.54 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02201/0.3943, allocations: 16.04 MB / 0.562 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001084/0.3954, allocations: 23.75 kB / 0.562 GB, free: 13.91 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001229/0.3966, allocations: 431.6 kB / 0.5624 GB, free: 13.59 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002306/0.3989, allocations: 0.8064 MB / 0.5632 GB, free: 12.9 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.007879/0.4068, allocations: 2.847 MB / 0.566 GB, free: 10.51 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002138/0.4089, allocations: 1.642 MB / 0.5676 GB, free: 8.902 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0009514/0.4099, allocations: 0.7312 MB / 0.5683 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007654/0.4107, allocations: 0.7284 MB / 0.569 GB, free: 7.418 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001014/0.4117, allocations: 0.8249 MB / 0.5698 GB, free: 6.59 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002256/0.4119, allocations: 140 kB / 0.57 GB, free: 6.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00404/0.4159, allocations: 1.712 MB / 0.5716 GB, free: 4.738 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003476/0.4163, allocations: 358.8 kB / 0.572 GB, free: 4.387 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0006558/0.4169, allocations: 0.6224 MB / 0.5726 GB, free: 3.762 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005368/0.4223, allocations: 3.572 MB / 0.5761 GB, free: 180 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.201e-06/0.4223, allocations: 4 kB / 0.5761 GB, free: 176 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.4223, allocations: 0 / 0.5761 GB, free: 176 kB / 414.1 MB Notification: Performance of Transformations before backend: time 1.64e-05/0.4223, allocations: 0 / 0.5761 GB, free: 176 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.003091/0.4254, allocations: 1.893 MB / 0.5779 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.388e-05/0.4255, allocations: 12.02 kB / 0.5779 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001537/0.427, allocations: 399 kB / 0.5783 GB, free: 13.83 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001735/0.4287, allocations: 0.912 MB / 0.5792 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001816/0.4289, allocations: 201.5 kB / 0.5794 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002136/0.4291, allocations: 116 kB / 0.5795 GB, free: 12.55 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002695/0.4318, allocations: 1.668 MB / 0.5811 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.841e-05/0.4319, allocations: 0 / 0.5811 GB, free: 10.81 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001333/0.432, allocations: 52 kB / 0.5812 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.407e-05/0.432, allocations: 32 kB / 0.5812 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00341/0.4354, allocations: 2.096 MB / 0.5833 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007913/0.4434, allocations: 4.698 MB / 0.5878 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001333/0.4447, allocations: 0.686 MB / 0.5885 GB, free: 3.109 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006165/0.4453, allocations: 332.4 kB / 0.5888 GB, free: 2.777 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00647/0.4518, allocations: 2.643 MB / 0.5914 GB, free: 112 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.63e-05/0.4518, allocations: 42.55 kB / 0.5915 GB, free: 60 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002585/0.4521, allocations: 71.5 kB / 0.5915 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.924e-06/0.4521, allocations: 0 / 0.5915 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001414/0.4535, allocations: 0.6043 MB / 0.5921 GB, free: 15.37 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.509e-05/0.4536, allocations: 106.8 kB / 0.5922 GB, free: 15.24 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001563/0.4551, allocations: 1.158 MB / 0.5933 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.366e-05/0.4552, allocations: 37.7 kB / 0.5934 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006299/0.4558, allocations: 0.8061 MB / 0.5942 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001247/0.4559, allocations: 142.9 kB / 0.5943 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003572/0.4563, allocations: 278.7 kB / 0.5946 GB, free: 12.78 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002433/0.4565, allocations: 403 kB / 0.595 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005284/0.457, allocations: 330.5 kB / 0.5953 GB, free: 12.05 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001256/0.4583, allocations: 1.054 MB / 0.5963 GB, free: 10.64 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001781/0.4601, allocations: 1.403 MB / 0.5977 GB, free: 8.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.33e-05/0.4601, allocations: 8 kB / 0.5977 GB, free: 8.863 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002534/0.4626, allocations: 1.456 MB / 0.5991 GB, free: 7.395 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.97e-05/0.4627, allocations: 19.94 kB / 0.5991 GB, free: 7.375 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.259e-05/0.4627, allocations: 28 kB / 0.5991 GB, free: 7.348 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006423/0.4633, allocations: 149.4 kB / 0.5993 GB, free: 7.195 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00119/0.4645, allocations: 379.4 kB / 0.5996 GB, free: 6.824 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003617/0.4681, allocations: 3.816 MB / 0.6034 GB, free: 2.746 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008143/0.469, allocations: 80.09 kB / 0.6035 GB, free: 2.668 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00013/0.4691, allocations: 87.98 kB / 0.6035 GB, free: 2.582 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.0005466/0.4696, allocations: 313.1 kB / 0.6038 GB, free: 2.266 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4698, allocations: 95.34 kB / 0.6039 GB, free: 2.172 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001771/0.4716, allocations: 0.8466 MB / 0.6048 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.901e-06/0.4716, allocations: 0 / 0.6048 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.4716, allocations: 7.984 kB / 0.6048 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001603/0.4718, allocations: 79.39 kB / 0.6048 GB, free: 1.203 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001071/0.4719, allocations: 4 kB / 0.6048 GB, free: 1.199 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002957/0.4722, allocations: 11.98 kB / 0.6048 GB, free: 1.188 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.46e-05/0.4722, allocations: 23.91 kB / 0.6049 GB, free: 1.164 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001029/0.4733, allocations: 0.5766 MB / 0.6054 GB, free: 0.5664 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009752/0.4742, allocations: 0.7714 MB / 0.6062 GB, free: 15.78 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.00018/0.4744, allocations: 86.17 kB / 0.6063 GB, free: 15.7 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001041/0.4755, allocations: 0.8191 MB / 0.6071 GB, free: 14.86 MB / 462.1 MB Notification: Performance of Backend: time 4.01e-07/0.4755, allocations: 0 / 0.6071 GB, free: 14.86 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.003972/0.4794, allocations: 1.737 MB / 0.6088 GB, free: 13.12 MB / 462.1 MB Notification: Performance of SimCode: time 0.003553/0.483, allocations: 2.483 MB / 0.6112 GB, free: 10.6 MB / 462.1 MB Notification: Performance of Templates: time 0.04179/0.5248, allocations: 26.33 MB / 0.6369 GB, free: 380 kB / 478.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 os._exit(0), Time elapsed: 5.533463901025243] Failed to read output from testmodel.py, exit status != 0: 0.5332624790025875 0.5472011929999999 0.12186168999999994 Calling exit ...