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.001489/0.001489, allocations: 96.2 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.00131/0.00131, allocations: 207.2 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.431/1.431, allocations: 230.6 MB / 256.8 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.1365/0.1365, allocations: 23.88 MB / 337.1 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.002123/0.002123, allocations: 75.89 kB / 472.4 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2985/0.3006, allocations: 59.86 MB / 0.5198 GB, free: 9.777 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.0736/0.3742, allocations: 27.02 MB / 0.5462 GB, free: 12.69 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02187/0.3961, allocations: 16.04 MB / 0.5618 GB, free: 14.08 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001273/0.3974, allocations: 23.81 kB / 0.5619 GB, free: 14.06 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001371/0.3987, allocations: 439.5 kB / 0.5623 GB, free: 13.73 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002857/0.4016, allocations: 0.806 MB / 0.5631 GB, free: 13.04 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.008265/0.4098, allocations: 2.846 MB / 0.5658 GB, free: 10.65 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.002804/0.4127, allocations: 1.636 MB / 0.5674 GB, free: 9.027 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001055/0.4137, allocations: 0.7389 MB / 0.5682 GB, free: 8.266 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008522/0.4146, allocations: 0.7284 MB / 0.5689 GB, free: 7.535 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001024/0.4156, allocations: 0.8211 MB / 0.5697 GB, free: 6.711 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002299/0.4158, allocations: 140 kB / 0.5698 GB, free: 6.574 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004615/0.4204, allocations: 1.712 MB / 0.5715 GB, free: 4.859 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0004235/0.4209, allocations: 358.8 kB / 0.5718 GB, free: 4.508 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0007488/0.4216, allocations: 0.6263 MB / 0.5724 GB, free: 3.879 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.007793/0.4294, allocations: 3.564 MB / 0.5759 GB, free: 308 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.04e-06/0.4294, allocations: 3.938 kB / 0.5759 GB, free: 304 kB / 414.1 MB Notification: Performance of FrontEnd: time 3.737e-06/0.4294, allocations: 4 kB / 0.5759 GB, free: 300 kB / 414.1 MB Notification: Performance of Transformations before backend: time 6.357e-05/0.4295, allocations: 0 / 0.5759 GB, free: 300 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.004123/0.4336, allocations: 1.893 MB / 0.5778 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.648e-05/0.4336, allocations: 8.031 kB / 0.5778 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001747/0.4354, allocations: 399.3 kB / 0.5782 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001889/0.4373, allocations: 0.912 MB / 0.579 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001864/0.4375, allocations: 209.5 kB / 0.5792 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002196/0.4377, allocations: 112 kB / 0.5794 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002826/0.4405, allocations: 1.664 MB / 0.581 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.901e-05/0.4405, allocations: 0 / 0.581 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001426/0.4407, allocations: 48 kB / 0.581 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.907e-05/0.4407, allocations: 32 kB / 0.5811 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003339/0.444, allocations: 2.104 MB / 0.5831 GB, free: 8.754 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008216/0.4523, allocations: 4.706 MB / 0.5877 GB, free: 3.934 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/0.4537, allocations: 0.686 MB / 0.5884 GB, free: 3.223 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006161/0.4543, allocations: 332.4 kB / 0.5887 GB, free: 2.891 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006913/0.4612, allocations: 2.639 MB / 0.5913 GB, free: 228 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.476e-05/0.4613, allocations: 38.56 kB / 0.5913 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0003156/0.4616, allocations: 71.3 kB / 0.5914 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.776e-06/0.4616, allocations: 0 / 0.5914 GB, free: 108 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001469/0.463, allocations: 0.6043 MB / 0.592 GB, free: 15.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.785e-05/0.4631, allocations: 110.8 kB / 0.5921 GB, free: 15.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001426/0.4645, allocations: 1.158 MB / 0.5932 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.4e-05/0.4646, allocations: 33.7 kB / 0.5932 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0005973/0.4652, allocations: 0.81 MB / 0.594 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/0.4653, allocations: 138.9 kB / 0.5942 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003723/0.4657, allocations: 274.7 kB / 0.5944 GB, free: 12.91 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002188/0.4659, allocations: 407 kB / 0.5948 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005401/0.4664, allocations: 326.5 kB / 0.5951 GB, free: 12.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001159/0.4676, allocations: 1.058 MB / 0.5961 GB, free: 10.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001754/0.4694, allocations: 1.407 MB / 0.5975 GB, free: 8.988 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.307e-05/0.4694, allocations: 8 kB / 0.5975 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002443/0.4718, allocations: 1.444 MB / 0.5989 GB, free: 7.523 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.08e-05/0.4718, allocations: 19.94 kB / 0.599 GB, free: 7.504 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.996e-05/0.4719, allocations: 24 kB / 0.599 GB, free: 7.48 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006602/0.4725, allocations: 153.6 kB / 0.5991 GB, free: 7.324 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001209/0.4737, allocations: 375.5 kB / 0.5995 GB, free: 6.957 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003268/0.477, allocations: 3.82 MB / 0.6032 GB, free: 2.875 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009213/0.4779, allocations: 72.17 kB / 0.6033 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001471/0.4781, allocations: 91.98 kB / 0.6034 GB, free: 2.715 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.0005045/0.4786, allocations: 321.1 kB / 0.6037 GB, free: 2.391 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002031/0.4788, allocations: 95.34 kB / 0.6038 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001824/0.4806, allocations: 0.8429 MB / 0.6046 GB, free: 1.414 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.042e-06/0.4806, allocations: 4 kB / 0.6046 GB, free: 1.41 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.4806, allocations: 3.938 kB / 0.6046 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001834/0.4808, allocations: 83.38 kB / 0.6047 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001165/0.4809, allocations: 0 / 0.6047 GB, free: 1.324 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003053/0.4812, allocations: 8 kB / 0.6047 GB, free: 1.316 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.952e-05/0.4813, allocations: 31.89 kB / 0.6047 GB, free: 1.285 MB / 446.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001057/0.4823, allocations: 0.5794 MB / 0.6053 GB, free: 0.6875 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009242/0.4833, allocations: 0.7676 MB / 0.606 GB, free: 15.9 MB / 462.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001818/0.4834, allocations: 88.12 kB / 0.6061 GB, free: 15.81 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001089/0.4845, allocations: 0.8152 MB / 0.6069 GB, free: 14.99 MB / 462.1 MB Notification: Performance of Backend: time 3.01e-07/0.4845, allocations: 3.938 kB / 0.6069 GB, free: 14.98 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.004385/0.4889, allocations: 1.733 MB / 0.6086 GB, free: 13.25 MB / 462.1 MB Notification: Performance of SimCode: time 0.003708/0.4926, allocations: 2.488 MB / 0.611 GB, free: 10.71 MB / 462.1 MB Notification: Performance of Templates: time 0.04228/0.5349, allocations: 26.67 MB / 0.6371 GB, free: 160 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 os._exit(0), Time elapsed: 5.474079348001396] Failed to read output from testmodel.py, exit status != 0: 0.543837541990797 0.557701494 0.12518231600000002 Calling exit ...