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.0009043/0.0009043, allocations: 80.75 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.0009158/0.0009158, allocations: 181 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 0.929/0.929, 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.09099/0.09099, allocations: 17.39 MB / 277.6 MB, free: 11.52 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.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: Performance of FrontEnd - loaded program: time 1.643e-06/1.643e-06, allocations: 0 / 300.7 MB, free: 1.828 MB / 266.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.166e-05/2.33e-05, allocations: 3.016 kB / 300.7 MB, free: 1.824 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.StandardElectrochemicalCell): time 0.0389/0.03892, allocations: 36.94 MB / 337.6 MB, free: 15.63 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01538/0.0543, allocations: 18.91 MB / 356.5 MB, free: 12.65 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007864/0.05508, allocations: 27.75 kB / 356.5 MB, free: 12.62 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0009087/0.05599, allocations: 460.3 kB / 357 MB, free: 12.17 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001701/0.05769, allocations: 0.9732 MB / 358 MB, free: 11.19 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.00554/0.06323, allocations: 3.027 MB / 361 MB, free: 8.145 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.001703/0.06494, allocations: 1.863 MB / 362.9 MB, free: 6.27 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008557/0.06579, allocations: 0.8062 MB / 363.7 MB, free: 5.434 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001051/0.06684, allocations: 1.189 MB / 364.8 MB, free: 4.242 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0007702/0.06761, allocations: 0.7717 MB / 365.6 MB, free: 3.469 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001585/0.06777, allocations: 144 kB / 365.8 MB, free: 3.328 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00302/0.07079, allocations: 1.774 MB / 367.5 MB, free: 1.551 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002367/0.07103, allocations: 402.7 kB / 367.9 MB, free: 1.156 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003886/0.07142, allocations: 0.573 MB / 368.5 MB, free: 0.582 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003276/0.07469, allocations: 3.412 MB / 371.9 MB, free: 13.16 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.341e-06/0.0747, allocations: 4 kB / 371.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.403e-06/0.0747, allocations: 0 / 371.9 MB, free: 13.15 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.548e-05/0.07472, allocations: 0 / 371.9 MB, free: 13.15 MB / 346.7 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.001819/0.07653, allocations: 1.993 MB / 373.9 MB, free: 11.12 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.059e-05/0.07656, allocations: 12.03 kB / 373.9 MB, free: 11.11 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00114/0.0777, allocations: 0.6542 MB / 374.6 MB, free: 10.46 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007879/0.07849, allocations: 0.6963 MB / 375.3 MB, free: 9.734 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001294/0.07862, allocations: 205.9 kB / 375.5 MB, free: 9.508 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001331/0.07876, allocations: 124.4 kB / 375.6 MB, free: 9.387 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001076/0.07983, allocations: 1.233 MB / 376.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.158e-05/0.07985, allocations: 0 / 376.8 MB, free: 8.078 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.826e-05/0.07993, allocations: 52 kB / 376.9 MB, free: 8.027 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.821e-05/0.07995, allocations: 35.94 kB / 376.9 MB, free: 7.992 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001132/0.08108, allocations: 1.133 MB / 378 MB, free: 6.855 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003764/0.08485, allocations: 3.947 MB / 382 MB, free: 2.812 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005539/0.0854, allocations: 0.5189 MB / 382.5 MB, free: 2.266 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001833/0.08558, allocations: 160.5 kB / 382.7 MB, free: 2.102 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003124/0.08871, allocations: 2.594 MB / 385.3 MB, free: 15.48 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.312e-05/0.08873, allocations: 38.56 kB / 385.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of pre-optimization done (n=37): time 1.482e-06/0.08873, allocations: 0 / 385.3 MB, free: 15.43 MB / 362.7 MB Notification: Performance of matching and sorting (n=37): time 0.0005518/0.08928, allocations: 374.7 kB / 385.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.08932, allocations: 110.8 kB / 385.8 MB, free: 14.93 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006197/0.08994, allocations: 0.9956 MB / 386.8 MB, free: 13.91 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.622e-05/0.08997, allocations: 33.95 kB / 386.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002956/0.09026, allocations: 0.7764 MB / 387.6 MB, free: 13.09 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.722e-05/0.09034, allocations: 146.8 kB / 387.7 MB, free: 12.95 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002115/0.09055, allocations: 287.3 kB / 388 MB, free: 12.66 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.696e-05/0.09065, allocations: 365.8 kB / 388.4 MB, free: 12.29 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001459/0.0908, allocations: 122.8 kB / 388.5 MB, free: 12.17 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000475/0.09127, allocations: 0.9486 MB / 389.4 MB, free: 10.81 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007828/0.09205, allocations: 1.244 MB / 390.7 MB, free: 9.156 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.408e-06/0.09206, allocations: 11.94 kB / 390.7 MB, free: 9.145 MB / 362.7 MB Notification: Performance of matching and sorting (n=169) (initialization): time 0.0008979/0.09296, allocations: 0.9669 MB / 391.7 MB, free: 8.164 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.167e-05/0.09298, allocations: 16 kB / 391.7 MB, free: 8.148 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/0.093, allocations: 32 kB / 391.7 MB, free: 8.117 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003215/0.09333, allocations: 165.3 kB / 391.9 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000673/0.094, allocations: 432.1 kB / 392.3 MB, free: 7.527 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001503/0.0955, allocations: 3.609 MB / 395.9 MB, free: 3.688 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004307/0.09593, allocations: 179 kB / 396.1 MB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.83e-05/0.09601, allocations: 91.98 kB / 396.2 MB, free: 3.422 MB / 362.7 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.0001987/0.09621, allocations: 223.9 kB / 396.4 MB, free: 3.191 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.365e-05/0.0963, allocations: 71.95 kB / 396.4 MB, free: 3.121 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008976/0.0972, allocations: 0.8172 MB / 397.3 MB, free: 2.25 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.0972, allocations: 4 kB / 397.3 MB, free: 2.246 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.954e-06/0.09721, allocations: 3.938 kB / 397.3 MB, free: 2.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.687e-06/0.09721, allocations: 4 kB / 397.3 MB, free: 2.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009267/0.09814, allocations: 0.9937 MB / 398.3 MB, free: 1.176 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.898e-06/0.09814, allocations: 4 kB / 398.3 MB, free: 1.172 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001718/0.09831, allocations: 88.16 kB / 398.4 MB, free: 1.086 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003896/0.0987, allocations: 159.3 kB / 398.5 MB, free: 0.918 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.101e-05/0.09872, allocations: 23.98 kB / 398.5 MB, free: 0.8945 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001438/0.1002, allocations: 3.461 MB / 402 MB, free: 13.2 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/0.1002, allocations: 4 kB / 402 MB, free: 13.19 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005117/0.1007, allocations: 0.6727 MB / 402.7 MB, free: 12.46 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.852e-05/0.1008, allocations: 99.16 kB / 402.8 MB, free: 12.36 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.598e-05/0.1008, allocations: 11.98 kB / 402.8 MB, free: 12.35 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001831/0.101, allocations: 16 kB / 402.8 MB, free: 12.34 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.368e-05/0.1011, allocations: 39.83 kB / 402.8 MB, free: 12.3 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.704e-05/0.1011, allocations: 15.98 kB / 402.9 MB, free: 12.28 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005059/0.1016, allocations: 0.4965 MB / 403.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of sort global known variables: time 9.1e-08/0.1016, allocations: 0 / 403.3 MB, free: 11.78 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.00167/0.1033, allocations: 0.6656 MB / 404 MB, free: 11.11 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * 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 (30): * Single equations (assignments): 26 * 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.001082/0.1044, allocations: 0.7869 MB / 404.8 MB, free: 10.31 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0008877/0.1052, allocations: 0.5934 MB / 405.4 MB, free: 9.727 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.48e-05/0.1053, allocations: 21.81 kB / 405.4 MB, free: 9.703 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003031/0.1056, allocations: 358.8 kB / 405.8 MB, free: 9.328 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007808/0.1064, allocations: 196.1 kB / 406 MB, free: 9.137 MB / 378.7 MB Error: Error parsing unit kDa: Unit not found Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00265/0.109, allocations: 1.824 MB / 407.8 MB, free: 7.234 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001697/0.1092, allocations: 200 kB / 408 MB, free: 7.016 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 0.0006464/0.1098, allocations: 262.8 kB / 408.2 MB, free: 6.766 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004443/0.1103, allocations: 293.2 kB / 408.5 MB, free: 6.48 MB / 378.7 MB Notification: Performance of SimCode: time 1.002e-06/0.1103, allocations: 7.938 kB / 408.5 MB, free: 6.473 MB / 378.7 MB Notification: Performance of Templates: time 0.06083/0.1711, allocations: 22.74 MB / 431.3 MB, free: 15.84 MB / 410.7 MB " [Timeout remaining time 660] 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=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.281918467953801]