Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.001333/0.001333, 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.001458/0.001458, allocations: 211.3 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.552/1.552, allocations: 230.6 MB / 256.8 MB, free: 7.777 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/package.mo): time 0.135/0.135, allocations: 23.88 MB / 337.1 MB, free: 11.05 MB / 270.1 MB " [Timeout remaining time 180] Using package Chemical with version 2.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/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_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002068/0.002068, allocations: 67.03 kB / 472.4 MB, free: 7.012 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2953/0.2974, allocations: 59.87 MB / 0.5198 GB, free: 9.75 MB / 382.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Chemical 2.0.0/Obsolete.mo:14337:7-14337: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 2.0.0/Obsolete.mo:14337:7-14337: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.07401/0.3714, allocations: 27.64 MB / 0.5468 GB, free: 12.11 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02617/0.3976, allocations: 19.02 MB / 0.5653 GB, free: 10.78 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001317/0.3989, allocations: 23.81 kB / 0.5654 GB, free: 10.76 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00175/0.4006, allocations: 493.6 kB / 0.5658 GB, free: 10.39 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00305/0.4037, allocations: 0.9675 MB / 0.5668 GB, free: 9.566 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009411/0.4131, allocations: 3.346 MB / 0.57 GB, free: 6.355 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003241/0.4163, allocations: 1.802 MB / 0.5718 GB, free: 4.547 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.4178, allocations: 0.7666 MB / 0.5726 GB, free: 3.758 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001126/0.4189, allocations: 0.8024 MB / 0.5733 GB, free: 2.953 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001203/0.4201, allocations: 0.899 MB / 0.5742 GB, free: 2.051 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002519/0.4204, allocations: 148 kB / 0.5744 GB, free: 1.906 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005299/0.4257, allocations: 2.005 MB / 0.5763 GB, free: 15.9 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005038/0.4262, allocations: 390.7 kB / 0.5767 GB, free: 15.52 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008561/0.427, allocations: 0.6729 MB / 0.5773 GB, free: 14.84 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008601/0.4356, allocations: 4.054 MB / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/0.4356, allocations: 0 / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.423e-06/0.4356, allocations: 0 / 0.5813 GB, free: 10.77 MB / 430.1 MB Notification: Performance of Transformations before backend: time 2.374e-05/0.4356, allocations: 0 / 0.5813 GB, free: 10.77 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.003561/0.4392, allocations: 2.064 MB / 0.5833 GB, free: 8.664 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.322e-05/0.4392, allocations: 8.031 kB / 0.5833 GB, free: 8.656 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001845/0.4411, allocations: 447.1 kB / 0.5837 GB, free: 8.219 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001968/0.4431, allocations: 0.9997 MB / 0.5847 GB, free: 7.191 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001942/0.4433, allocations: 209.7 kB / 0.5849 GB, free: 6.961 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002343/0.4435, allocations: 124 kB / 0.585 GB, free: 6.84 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00284/0.4463, allocations: 1.76 MB / 0.5868 GB, free: 5.008 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.616e-05/0.4464, allocations: 3.938 kB / 0.5868 GB, free: 5.004 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001371/0.4465, allocations: 52 kB / 0.5868 GB, free: 4.953 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.969e-05/0.4465, allocations: 32 kB / 0.5868 GB, free: 4.922 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003625/0.4502, allocations: 2.303 MB / 0.5891 GB, free: 2.613 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008356/0.4585, allocations: 4.818 MB / 0.5938 GB, free: 13.68 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0014/0.4599, allocations: 0.6977 MB / 0.5945 GB, free: 12.96 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005982/0.4605, allocations: 332.3 kB / 0.5948 GB, free: 12.63 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.007056/0.4676, allocations: 2.857 MB / 0.5976 GB, free: 9.746 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.609e-05/0.4676, allocations: 46.55 kB / 0.5976 GB, free: 9.691 MB / 446.1 MB Notification: Performance of pre-optimization done (n=37): time 2.905e-06/0.4676, allocations: 3.938 kB / 0.5976 GB, free: 9.688 MB / 446.1 MB Notification: Performance of matching and sorting (n=37): time 0.001561/0.4692, allocations: 0.631 MB / 0.5983 GB, free: 9.043 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.704e-05/0.4692, allocations: 114.8 kB / 0.5984 GB, free: 8.906 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001515/0.4708, allocations: 1.237 MB / 0.5996 GB, free: 7.652 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.721e-05/0.4708, allocations: 33.7 kB / 0.5996 GB, free: 7.613 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006442/0.4714, allocations: 0.8684 MB / 0.6005 GB, free: 6.734 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001383/0.4716, allocations: 155.1 kB / 0.6006 GB, free: 6.582 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003739/0.472, allocations: 303.3 kB / 0.6009 GB, free: 6.281 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001752/0.4721, allocations: 357.9 kB / 0.6012 GB, free: 5.926 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.4727, allocations: 343.8 kB / 0.6016 GB, free: 5.59 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00124/0.4739, allocations: 1.156 MB / 0.6027 GB, free: 4.023 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.4758, allocations: 1.533 MB / 0.6042 GB, free: 2.082 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.429e-05/0.4758, allocations: 8 kB / 0.6042 GB, free: 2.074 MB / 446.1 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.002638/0.4785, allocations: 1.56 MB / 0.6057 GB, free: 0.5039 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.121e-05/0.4785, allocations: 16.19 kB / 0.6057 GB, free: 500 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.334e-05/0.4785, allocations: 32 kB / 0.6058 GB, free: 468 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006249/0.4792, allocations: 157.4 kB / 0.6059 GB, free: 304 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001184/0.4803, allocations: 395.3 kB / 0.6063 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/0.4835, allocations: 3.84 MB / 0.61 GB, free: 11.81 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001022/0.4845, allocations: 179 kB / 0.6102 GB, free: 11.63 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.00016/0.4847, allocations: 104 kB / 0.6103 GB, free: 11.53 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.0005326/0.4852, allocations: 324.3 kB / 0.6106 GB, free: 11.21 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002193/0.4854, allocations: 111.2 kB / 0.6107 GB, free: 11.1 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.4873, allocations: 0.936 MB / 0.6116 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.4873, allocations: 0 / 0.6116 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.465e-06/0.4873, allocations: 0 / 0.6116 GB, free: 10.11 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001948/0.4875, allocations: 95.22 kB / 0.6117 GB, free: 10.02 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/0.4876, allocations: 11.94 kB / 0.6117 GB, free: 10.01 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003125/0.4879, allocations: 8 kB / 0.6117 GB, free: 10 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.338e-05/0.488, allocations: 31.89 kB / 0.6118 GB, free: 9.969 MB / 462.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009852/0.489, allocations: 0.5924 MB / 0.6124 GB, free: 9.355 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009058/0.4899, allocations: 0.7786 MB / 0.6131 GB, free: 8.559 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001743/0.4901, allocations: 96.03 kB / 0.6132 GB, free: 8.465 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001116/0.4912, allocations: 0.873 MB / 0.6141 GB, free: 7.586 MB / 462.1 MB Notification: Performance of Backend: time 3.11e-07/0.4912, allocations: 0 / 0.6141 GB, free: 7.586 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.00474/0.4959, allocations: 1.941 MB / 0.616 GB, free: 5.645 MB / 462.1 MB Notification: Performance of SimCode: time 0.003954/0.4999, allocations: 2.63 MB / 0.6185 GB, free: 2.965 MB / 462.1 MB Notification: Performance of Templates: time 0.04557/0.5455, allocations: 29.66 MB / 0.6475 GB, free: 5.422 MB / 494.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 480] [Calling os._exit(0), Time elapsed: 5.916032194974832] Failed to read output from testmodel.py, exit status != 0: 0.5543572609894909 0.56866854 0.129802821 Calling exit ...