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.001706/0.001706, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001761/0.001761, allocations: 212.2 kB / 22.24 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.414/1.414, allocations: 230.6 MB / 256 MB, free: 7.801 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.1382/0.1382, allocations: 23.88 MB / 336.3 MB, free: 10.96 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.00207/0.00207, allocations: 67.84 kB / 471.6 MB, free: 6.992 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.354/0.3561, allocations: 59.86 MB / 0.519 GB, free: 9.734 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.07573/0.4318, allocations: 27.19 MB / 0.5456 GB, free: 12.53 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.02301/0.4548, allocations: 16.04 MB / 0.5612 GB, free: 13.92 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.001461/0.4563, allocations: 23.81 kB / 0.5613 GB, free: 13.9 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00152/0.4578, allocations: 439.8 kB / 0.5617 GB, free: 13.57 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003086/0.4609, allocations: 0.8023 MB / 0.5625 GB, free: 12.89 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.009954/0.4708, allocations: 2.851 MB / 0.5653 GB, free: 10.49 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.003125/0.4739, allocations: 1.638 MB / 0.5669 GB, free: 8.887 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.001103/0.475, allocations: 0.7117 MB / 0.5676 GB, free: 8.152 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0008812/0.4759, allocations: 0.7284 MB / 0.5683 GB, free: 7.422 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.477, allocations: 0.739 MB / 0.569 GB, free: 6.68 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0002293/0.4772, allocations: 140 kB / 0.5691 GB, free: 6.543 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005138/0.4824, allocations: 1.673 MB / 0.5708 GB, free: 4.867 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0005925/0.4829, allocations: 354.9 kB / 0.5711 GB, free: 4.52 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0008276/0.4838, allocations: 0.6301 MB / 0.5717 GB, free: 3.887 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.008271/0.492, allocations: 3.568 MB / 0.5752 GB, free: 312 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.434e-06/0.4921, allocations: 0 / 0.5752 GB, free: 312 kB / 414.1 MB Notification: Performance of FrontEnd: time 2.034e-06/0.4921, allocations: 0 / 0.5752 GB, free: 312 kB / 414.1 MB Notification: Performance of Transformations before backend: time 2.204e-05/0.4921, allocations: 0 / 0.5752 GB, free: 312 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.003712/0.4958, allocations: 1.905 MB / 0.577 GB, free: 14.36 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.254e-05/0.4958, allocations: 8.031 kB / 0.5771 GB, free: 14.35 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001564/0.4974, allocations: 391.4 kB / 0.5774 GB, free: 13.96 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001777/0.4992, allocations: 0.9159 MB / 0.5783 GB, free: 13.02 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001974/0.4994, allocations: 205.5 kB / 0.5785 GB, free: 12.79 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002049/0.4996, allocations: 112 kB / 0.5786 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002838/0.5024, allocations: 1.664 MB / 0.5803 GB, free: 10.95 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.465e-05/0.5024, allocations: 3.938 kB / 0.5803 GB, free: 10.94 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001251/0.5026, allocations: 48 kB / 0.5803 GB, free: 10.89 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.048e-05/0.5026, allocations: 32 kB / 0.5803 GB, free: 10.86 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003409/0.506, allocations: 2.096 MB / 0.5824 GB, free: 8.766 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008115/0.5141, allocations: 4.706 MB / 0.587 GB, free: 3.945 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001393/0.5155, allocations: 0.6936 MB / 0.5877 GB, free: 3.227 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005839/0.5161, allocations: 332.4 kB / 0.588 GB, free: 2.895 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.006419/0.5225, allocations: 2.635 MB / 0.5905 GB, free: 236 kB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.988e-05/0.5226, allocations: 46.48 kB / 0.5906 GB, free: 180 kB / 430.1 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0002916/0.5229, allocations: 71.36 kB / 0.5907 GB, free: 108 kB / 430.1 MB Notification: Performance of pre-optimization done (n=34): time 2.194e-06/0.5229, allocations: 4 kB / 0.5907 GB, free: 104 kB / 430.1 MB Notification: Performance of matching and sorting (n=34): time 0.001409/0.5243, allocations: 0.5969 MB / 0.5912 GB, free: 15.49 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001418/0.5244, allocations: 110.8 kB / 0.5913 GB, free: 15.36 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001482/0.5259, allocations: 1.158 MB / 0.5925 GB, free: 14.18 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 4.065e-05/0.5259, allocations: 33.7 kB / 0.5925 GB, free: 14.14 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0006711/0.5266, allocations: 0.81 MB / 0.5933 GB, free: 13.32 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001268/0.5267, allocations: 142.9 kB / 0.5934 GB, free: 13.18 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.5271, allocations: 274.9 kB / 0.5937 GB, free: 12.9 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0002242/0.5273, allocations: 406.7 kB / 0.5941 GB, free: 12.5 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005129/0.5278, allocations: 326.5 kB / 0.5944 GB, free: 12.18 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001328/0.5291, allocations: 1.058 MB / 0.5954 GB, free: 10.76 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001873/0.531, allocations: 1.399 MB / 0.5968 GB, free: 8.992 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.75e-05/0.531, allocations: 11.94 kB / 0.5968 GB, free: 8.98 MB / 446.1 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.002448/0.5335, allocations: 1.456 MB / 0.5982 GB, free: 7.512 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 3.105e-05/0.5335, allocations: 16 kB / 0.5982 GB, free: 7.496 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.321e-05/0.5335, allocations: 28 kB / 0.5983 GB, free: 7.469 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006353/0.5342, allocations: 149.6 kB / 0.5984 GB, free: 7.316 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001125/0.5353, allocations: 375.6 kB / 0.5988 GB, free: 6.949 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003253/0.5386, allocations: 3.808 MB / 0.6025 GB, free: 2.879 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008342/0.5394, allocations: 76.19 kB / 0.6026 GB, free: 2.805 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001364/0.5395, allocations: 91.98 kB / 0.6027 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.0005092/0.54, allocations: 317.1 kB / 0.603 GB, free: 2.395 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001995/0.5402, allocations: 95.34 kB / 0.603 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00168/0.5419, allocations: 0.8614 MB / 0.6039 GB, free: 1.406 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.53e-06/0.5419, allocations: 4.094 kB / 0.6039 GB, free: 1.402 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.5419, allocations: 3.984 kB / 0.6039 GB, free: 1.398 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.466e-06/0.5419, allocations: 7.984 kB / 0.6039 GB, free: 1.391 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001894/0.5438, allocations: 1.054 MB / 0.6049 GB, free: 276 kB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.647e-06/0.5438, allocations: 4.188 kB / 0.6049 GB, free: 272 kB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002557/0.5441, allocations: 63.89 kB / 0.605 GB, free: 208 kB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007206/0.5448, allocations: 175 kB / 0.6052 GB, free: 20 kB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.195e-05/0.5448, allocations: 15.98 kB / 0.6052 GB, free: 4 kB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003051/0.5479, allocations: 3.695 MB / 0.6088 GB, free: 12.04 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/0.5479, allocations: 4.031 kB / 0.6088 GB, free: 12.03 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001289/0.5492, allocations: 0.8427 MB / 0.6096 GB, free: 11.14 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001983/0.5494, allocations: 83.34 kB / 0.6097 GB, free: 11.06 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001106/0.5495, allocations: 12.19 kB / 0.6097 GB, free: 11.05 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003457/0.5498, allocations: 27.92 kB / 0.6097 GB, free: 11.02 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.552e-05/0.5499, allocations: 39.89 kB / 0.6098 GB, free: 10.98 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.023e-05/0.5499, allocations: 12 kB / 0.6098 GB, free: 10.97 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.001057/0.551, allocations: 0.8152 MB / 0.6106 GB, free: 10.14 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.01e-07/0.551, allocations: 0 / 0.6106 GB, free: 10.14 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.001941/0.5529, allocations: 0.6422 MB / 0.6112 GB, free: 9.5 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.001273/0.5542, allocations: 0.7399 MB / 0.6119 GB, free: 8.75 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001647/0.5558, allocations: 0.7711 MB / 0.6127 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 3.687e-06/0.5559, allocations: 0 / 0.6127 GB, free: 7.984 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0005679/0.5564, allocations: 390.7 kB / 0.6131 GB, free: 7.578 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0009409/0.5574, allocations: 150.8 kB / 0.6132 GB, free: 7.438 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003087/0.5604, allocations: 1.841 MB / 0.615 GB, free: 5.539 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005396/0.561, allocations: 476.5 kB / 0.6154 GB, free: 5.039 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0008365/0.5618, allocations: 267.1 kB / 0.6157 GB, free: 4.793 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002655/0.5621, allocations: 135.4 kB / 0.6158 GB, free: 4.66 MB / 462.1 MB Notification: Performance of SimCode: time 9.22e-07/0.5621, allocations: 0 / 0.6158 GB, free: 4.66 MB / 462.1 MB Notification: Performance of Templates: time 0.03346/0.5956, allocations: 19.91 MB / 0.6353 GB, free: 0.875 MB / 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.460451131686568] Failed to read output from testmodel.py, exit status != 0: 0.6047301720827818 0.6188753690000001 0.12363792100000001 Calling exit ...