Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Chemical_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.002031/0.002031, allocations: 103.6 kB / 18.95 MB, free: 2.66 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.002512/0.002512, allocations: 220.6 kB / 22.25 MB, free: 5.258 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.508/1.508, allocations: 230.6 MB / 256 MB, free: 7.797 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.1459/0.1459, allocations: 23.89 MB / 336.3 MB, free: 10.95 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.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2") translateModel(Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Chemical_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.002084/0.002084, allocations: 67.91 kB / 471.6 MB, free: 6.996 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.35/0.3521, allocations: 59.86 MB / 0.519 GB, free: 9.824 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.StandardElectrochemicalCell2): time 0.07519/0.4273, allocations: 27.1 MB / 0.5455 GB, free: 12.56 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02334/0.4506, allocations: 16.05 MB / 0.5612 GB, free: 13.95 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001511/0.4521, allocations: 27.75 kB / 0.5612 GB, free: 13.93 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001574/0.4537, allocations: 427.6 kB / 0.5616 GB, free: 13.61 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003485/0.4572, allocations: 0.8143 MB / 0.5624 GB, free: 12.91 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008827/0.466, allocations: 2.847 MB / 0.5652 GB, free: 10.52 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003022/0.469, allocations: 1.638 MB / 0.5668 GB, free: 8.906 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001191/0.4702, allocations: 0.735 MB / 0.5675 GB, free: 8.148 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009418/0.4712, allocations: 0.7245 MB / 0.5682 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001121/0.4723, allocations: 0.8211 MB / 0.569 GB, free: 6.598 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002327/0.4725, allocations: 140 kB / 0.5691 GB, free: 6.461 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005397/0.4779, allocations: 1.712 MB / 0.5708 GB, free: 4.746 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000512/0.4784, allocations: 358.9 kB / 0.5711 GB, free: 4.395 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008175/0.4792, allocations: 0.6263 MB / 0.5718 GB, free: 3.766 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008058/0.4873, allocations: 3.572 MB / 0.5752 GB, free: 184 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.191e-06/0.4873, allocations: 0 / 0.5752 GB, free: 184 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.794e-06/0.4873, allocations: 0 / 0.5752 GB, free: 184 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.389e-05/0.4873, allocations: 4 kB / 0.5753 GB, free: 180 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.003382/0.4907, allocations: 1.897 MB / 0.5771 GB, free: 14.23 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.4908, allocations: 12.03 kB / 0.5771 GB, free: 14.22 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001544/0.4923, allocations: 391.4 kB / 0.5775 GB, free: 13.84 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001808/0.4941, allocations: 0.9159 MB / 0.5784 GB, free: 12.89 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001927/0.4943, allocations: 201.5 kB / 0.5786 GB, free: 12.67 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002029/0.4945, allocations: 112 kB / 0.5787 GB, free: 12.56 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002767/0.4973, allocations: 1.672 MB / 0.5803 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.87e-05/0.4973, allocations: 0 / 0.5803 GB, free: 10.82 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001412/0.4974, allocations: 52 kB / 0.5804 GB, free: 10.77 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.513e-05/0.4975, allocations: 32 kB / 0.5804 GB, free: 10.73 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003412/0.5009, allocations: 2.1 MB / 0.5824 GB, free: 8.633 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.007838/0.5087, allocations: 4.698 MB / 0.587 GB, free: 3.82 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.00132/0.51, allocations: 0.6899 MB / 0.5877 GB, free: 3.105 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000574/0.5106, allocations: 332.4 kB / 0.588 GB, free: 2.773 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006319/0.5169, allocations: 2.647 MB / 0.5906 GB, free: 100 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.517, allocations: 42.55 kB / 0.5906 GB, free: 48 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002511/0.5172, allocations: 69.42 kB / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of pre-optimization done (n=34): time 1.873e-06/0.5172, allocations: 0 / 0.5907 GB, free: 15.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=34): time 0.001382/0.5186, allocations: 0.6043 MB / 0.5913 GB, free: 15.36 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.865e-05/0.5187, allocations: 106.8 kB / 0.5914 GB, free: 15.23 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001342/0.52, allocations: 1.154 MB / 0.5925 GB, free: 14.06 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 3.874e-05/0.5201, allocations: 33.7 kB / 0.5926 GB, free: 14.02 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005999/0.5207, allocations: 0.8139 MB / 0.5934 GB, free: 13.2 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001524/0.5208, allocations: 138.9 kB / 0.5935 GB, free: 13.06 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004338/0.5212, allocations: 274.7 kB / 0.5938 GB, free: 12.79 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002408/0.5215, allocations: 402.7 kB / 0.5941 GB, free: 12.38 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005211/0.522, allocations: 322.5 kB / 0.5944 GB, free: 12.07 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001146/0.5232, allocations: 1.058 MB / 0.5955 GB, free: 10.65 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001724/0.5249, allocations: 1.41 MB / 0.5969 GB, free: 8.871 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.421e-05/0.5249, allocations: 12 kB / 0.5969 GB, free: 8.859 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.00228/0.5272, allocations: 1.444 MB / 0.5983 GB, free: 7.402 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.065e-05/0.5272, allocations: 16 kB / 0.5983 GB, free: 7.387 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.982e-05/0.5272, allocations: 28 kB / 0.5983 GB, free: 7.359 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006212/0.5278, allocations: 153.6 kB / 0.5985 GB, free: 7.203 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001097/0.5289, allocations: 371.4 kB / 0.5988 GB, free: 6.84 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003179/0.5321, allocations: 3.824 MB / 0.6026 GB, free: 2.754 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007266/0.5329, allocations: 68.11 kB / 0.6026 GB, free: 2.688 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.533, allocations: 99.98 kB / 0.6027 GB, free: 2.59 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.0004588/0.5334, allocations: 309.1 kB / 0.603 GB, free: 2.277 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001826/0.5336, allocations: 99.33 kB / 0.6031 GB, free: 2.18 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001652/0.5353, allocations: 0.8432 MB / 0.6039 GB, free: 1.301 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.292e-06/0.5353, allocations: 7.938 kB / 0.6039 GB, free: 1.293 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.734e-06/0.5353, allocations: 3.938 kB / 0.6039 GB, free: 1.289 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.156e-06/0.5353, allocations: 7.984 kB / 0.6039 GB, free: 1.281 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001867/0.5372, allocations: 1.054 MB / 0.605 GB, free: 164 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.979e-06/0.5372, allocations: 4 kB / 0.605 GB, free: 160 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002502/0.5374, allocations: 63.89 kB / 0.605 GB, free: 96 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006881/0.5381, allocations: 171.2 kB / 0.6052 GB, free: 15.91 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.213e-05/0.5381, allocations: 23.98 kB / 0.6052 GB, free: 15.89 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002842/0.541, allocations: 3.691 MB / 0.6088 GB, free: 11.93 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.811e-06/0.541, allocations: 4.438 kB / 0.6088 GB, free: 11.92 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001188/0.5422, allocations: 0.8505 MB / 0.6097 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001611/0.5423, allocations: 87.3 kB / 0.6098 GB, free: 10.93 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001081/0.5424, allocations: 11.98 kB / 0.6098 GB, free: 10.92 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003306/0.5428, allocations: 16.03 kB / 0.6098 GB, free: 10.91 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.222e-05/0.5428, allocations: 31.94 kB / 0.6098 GB, free: 10.88 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.052e-05/0.5429, allocations: 16 kB / 0.6098 GB, free: 10.86 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0009889/0.5438, allocations: 0.8192 MB / 0.6106 GB, free: 10.03 MB / 462.1 MB Notification: Performance of sort global known variables: time 9e-08/0.5438, allocations: 0 / 0.6106 GB, free: 10.03 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001874/0.5457, allocations: 0.646 MB / 0.6113 GB, free: 9.383 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.001237/0.547, allocations: 0.7538 MB / 0.612 GB, free: 8.625 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001537/0.5485, allocations: 0.7761 MB / 0.6127 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.627e-06/0.5485, allocations: 0 / 0.6127 GB, free: 7.855 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005446/0.549, allocations: 382.1 kB / 0.6131 GB, free: 7.457 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000891/0.5499, allocations: 138.5 kB / 0.6132 GB, free: 7.324 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002924/0.5529, allocations: 1.849 MB / 0.6151 GB, free: 5.418 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005023/0.5534, allocations: 468.5 kB / 0.6155 GB, free: 4.926 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0007276/0.5541, allocations: 273.5 kB / 0.6158 GB, free: 4.676 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002516/0.5543, allocations: 139.4 kB / 0.6159 GB, free: 4.539 MB / 462.1 MB Notification: Performance of SimCode: time 5.91e-07/0.5543, allocations: 0 / 0.6159 GB, free: 4.539 MB / 462.1 MB Notification: Performance of Templates: time 0.0336/0.5879, allocations: 20.28 MB / 0.6357 GB, free: 396 kB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.makefile [Timeout 660] (rm -f Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; mkfifo Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe ; head -c 1048576 < Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe >> ../files/Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.sim & ./Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2 -abortSlowSimulation -alarm=480 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.867697561625391] Failed to read output from testmodel.py, exit status != 0: 0.5970900729298592 0.612093058 0.12147018500000001 Calling exit ...