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.0009338/0.0009338, allocations: 80.94 kB / 19.94 MB, free: 4.547 MB / 18.57 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.001058/0.001058, allocations: 173 kB / 23.36 MB, free: 1.133 MB / 18.57 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.005/1.005, allocations: 177.1 MB / 203.8 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] 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.08851/0.08851, allocations: 17.39 MB / 277.6 MB, free: 11.53 MB / 266.7 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: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 300.6 MB, free: 1.922 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.504e-05/1.627e-05, allocations: 2.859 kB / 300.6 MB, free: 1.918 MB / 266.7 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.03006/0.03008, allocations: 36.22 MB / 336.8 MB, free: 408 kB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.01148/0.04155, allocations: 13.35 MB / 350.2 MB, free: 3.008 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008337/0.04239, allocations: 27.75 kB / 350.2 MB, free: 2.98 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0007341/0.04312, allocations: 368.9 kB / 350.6 MB, free: 2.617 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001537/0.04466, allocations: 0.8026 MB / 351.4 MB, free: 1.809 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003861/0.04852, allocations: 2.166 MB / 353.5 MB, free: 15.62 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001718/0.05024, allocations: 1.688 MB / 355.2 MB, free: 13.93 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008714/0.05111, allocations: 0.7901 MB / 356 MB, free: 13.11 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001257/0.05237, allocations: 1.096 MB / 357.1 MB, free: 12.01 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000814/0.05318, allocations: 0.7015 MB / 357.8 MB, free: 11.3 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0002125/0.05339, allocations: 136 kB / 357.9 MB, free: 11.17 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00228/0.05567, allocations: 1.189 MB / 359.1 MB, free: 9.98 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002449/0.05592, allocations: 366.8 kB / 359.5 MB, free: 9.621 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0004388/0.05636, allocations: 0.5457 MB / 360 MB, free: 9.074 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00299/0.05935, allocations: 2.607 MB / 362.6 MB, free: 6.457 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.238e-06/0.05935, allocations: 4 kB / 362.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.062e-06/0.05935, allocations: 0 / 362.6 MB, free: 6.453 MB / 330.7 MB Notification: Performance of Transformations before backend: time 3.606e-05/0.05939, allocations: 3.938 kB / 362.7 MB, free: 6.449 MB / 330.7 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.002044/0.06143, allocations: 1.764 MB / 364.4 MB, free: 4.652 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.343e-05/0.06146, allocations: 16.02 kB / 364.4 MB, free: 4.637 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009316/0.0624, allocations: 0.5846 MB / 365 MB, free: 4.051 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/0.06313, allocations: 0.6254 MB / 365.6 MB, free: 3.398 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.06323, allocations: 197.8 kB / 365.8 MB, free: 3.18 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001213/0.06335, allocations: 120.4 kB / 366 MB, free: 3.062 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009916/0.06435, allocations: 1.153 MB / 367.1 MB, free: 1.832 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.152e-05/0.06437, allocations: 3.984 kB / 367.1 MB, free: 1.828 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.513e-05/0.06444, allocations: 48 kB / 367.2 MB, free: 1.781 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.754e-05/0.06446, allocations: 28 kB / 367.2 MB, free: 1.754 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009834/0.06544, allocations: 1.008 MB / 368.2 MB, free: 0.7461 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003888/0.06933, allocations: 3.79 MB / 372 MB, free: 12.86 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005343/0.06987, allocations: 0.5076 MB / 372.5 MB, free: 12.32 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001736/0.07004, allocations: 160.5 kB / 372.6 MB, free: 12.16 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002919/0.07296, allocations: 2.325 MB / 375 MB, free: 9.812 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.369e-05/0.07298, allocations: 42.56 kB / 375 MB, free: 9.762 MB / 346.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.000135/0.07312, allocations: 67.36 kB / 375.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of pre-optimization done (n=34): time 2.154e-06/0.07312, allocations: 0 / 375.1 MB, free: 9.695 MB / 346.7 MB Notification: Performance of matching and sorting (n=34): time 0.0005333/0.07365, allocations: 359 kB / 375.4 MB, free: 9.332 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.981e-05/0.07369, allocations: 110.8 kB / 375.5 MB, free: 9.199 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005683/0.07426, allocations: 0.9115 MB / 376.4 MB, free: 8.266 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 2.536e-05/0.07429, allocations: 29.7 kB / 376.5 MB, free: 8.23 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002805/0.07457, allocations: 0.7293 MB / 377.2 MB, free: 7.492 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.934e-05/0.07464, allocations: 139 kB / 377.3 MB, free: 7.355 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001937/0.07483, allocations: 266.6 kB / 377.6 MB, free: 7.09 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0004033/0.07523, allocations: 418.5 kB / 378 MB, free: 6.672 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001524/0.07539, allocations: 117.4 kB / 378.1 MB, free: 6.555 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004573/0.07584, allocations: 0.8505 MB / 379 MB, free: 5.34 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007749/0.07662, allocations: 1.122 MB / 380.1 MB, free: 3.848 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.028e-05/0.07663, allocations: 8 kB / 380.1 MB, free: 3.84 MB / 346.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.0008835/0.07751, allocations: 0.8785 MB / 381 MB, free: 2.945 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.07754, allocations: 16 kB / 381 MB, free: 2.93 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.219e-05/0.07756, allocations: 28 kB / 381 MB, free: 2.902 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003909/0.07796, allocations: 157.3 kB / 381.2 MB, free: 2.742 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006161/0.07857, allocations: 363.9 kB / 381.5 MB, free: 2.387 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001997/0.08057, allocations: 3.609 MB / 385.1 MB, free: 14.55 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004467/0.08102, allocations: 71.89 kB / 385.2 MB, free: 14.48 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.943e-05/0.0811, allocations: 79.98 kB / 385.3 MB, free: 14.4 MB / 362.7 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.0002399/0.08133, allocations: 223.9 kB / 385.5 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.711e-05/0.08143, allocations: 59.94 kB / 385.6 MB, free: 14.11 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008357/0.08227, allocations: 0.731 MB / 386.3 MB, free: 13.34 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.888e-06/0.08227, allocations: 4 kB / 386.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.08227, allocations: 0 / 386.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.08228, allocations: 3.984 kB / 386.3 MB, free: 13.33 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008985/0.08318, allocations: 0.9136 MB / 387.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/0.08318, allocations: 0 / 387.2 MB, free: 12.36 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001205/0.0833, allocations: 59.92 kB / 387.3 MB, free: 12.3 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003797/0.08368, allocations: 175.2 kB / 387.5 MB, free: 12.11 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.0837, allocations: 16 kB / 387.5 MB, free: 12.1 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001308/0.085, allocations: 3.456 MB / 390.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.734e-06/0.08501, allocations: 0 / 390.9 MB, free: 8.402 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007081/0.08571, allocations: 0.6406 MB / 391.6 MB, free: 7.711 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.023e-05/0.08579, allocations: 75.39 kB / 391.6 MB, free: 7.637 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.192e-05/0.08586, allocations: 11.95 kB / 391.6 MB, free: 7.625 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001668/0.08602, allocations: 8 kB / 391.7 MB, free: 7.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.245e-05/0.08606, allocations: 43.83 kB / 391.7 MB, free: 7.574 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.08608, allocations: 15.98 kB / 391.7 MB, free: 7.559 MB / 362.7 MB Notification: Performance of sorting global known variables: time 0.0003287/0.08641, allocations: 460.3 kB / 392.2 MB, free: 7.098 MB / 362.7 MB Notification: Performance of sort global known variables: time 7e-08/0.08641, allocations: 8 kB / 392.2 MB, free: 7.09 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.001073/0.08749, allocations: 0.5256 MB / 392.7 MB, free: 6.562 MB / 362.7 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.0006519/0.08814, allocations: 0.5495 MB / 393.2 MB, free: 6 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0006629/0.0888, allocations: 0.5582 MB / 393.8 MB, free: 5.445 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.414e-05/0.08882, allocations: 17.81 kB / 393.8 MB, free: 5.43 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 0.000225/0.08905, allocations: 342.9 kB / 394.2 MB, free: 5.066 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005239/0.08957, allocations: 172.7 kB / 394.3 MB, free: 4.902 MB / 362.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002017/0.09159, allocations: 1.701 MB / 396 MB, free: 3.133 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001244/0.09172, allocations: 183.2 kB / 396.2 MB, free: 2.934 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0004366/0.09215, allocations: 240.5 kB / 396.4 MB, free: 2.707 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003103/0.09246, allocations: 261.2 kB / 396.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of SimCode: time 9.72e-07/0.09246, allocations: 0 / 396.7 MB, free: 2.453 MB / 362.7 MB Notification: Performance of Templates: time 0.02043/0.1129, allocations: 18.16 MB / 414.9 MB, free: 400 kB / 378.7 MB " [Timeout remaining time 660] 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=240 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2186096236109734]