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.0007702/0.0007702, allocations: 76.45 kB / 19.9 MB, free: 16 kB / 13.93 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.0008138/0.0008138, allocations: 165.9 kB / 23.18 MB, free: 1.383 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.8605/0.8605, allocations: 177.2 MB / 203.6 MB, free: 5.777 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.08311/0.08311, allocations: 17.38 MB / 277.4 MB, free: 11.88 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: 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.0008499/0.0008499, allocations: 75.88 kB / 412.8 MB, free: 15.88 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2629, allocations: 59.83 MB / 472.7 MB, free: 29.8 MB / 410.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.02572/0.2886, allocations: 27.33 MB / 500 MB, free: 18.81 MB / 410.7 MB Notification: Performance of NFInst.instExpressions: time 0.01047/0.2991, allocations: 16.05 MB / 0.5039 GB, free: 5.207 MB / 410.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004342/0.2995, allocations: 23.81 kB / 0.504 GB, free: 5.184 MB / 410.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0006781/0.3002, allocations: 431.4 kB / 0.5044 GB, free: 4.859 MB / 410.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001131/0.3013, allocations: 0.818 MB / 0.5052 GB, free: 4.164 MB / 410.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.003458/0.3048, allocations: 2.846 MB / 0.508 GB, free: 1.773 MB / 410.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008755/0.3056, allocations: 1.635 MB / 0.5096 GB, free: 308 kB / 410.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0006234/0.3063, allocations: 0.7222 MB / 0.5103 GB, free: 15.73 MB / 426.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0007754/0.307, allocations: 1.075 MB / 0.5113 GB, free: 14.85 MB / 426.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006525/0.3077, allocations: 0.7312 MB / 0.512 GB, free: 14.28 MB / 426.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001304/0.3078, allocations: 144 kB / 0.5122 GB, free: 14.14 MB / 426.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002392/0.3102, allocations: 1.676 MB / 0.5138 GB, free: 12.62 MB / 426.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0002363/0.3105, allocations: 363.1 kB / 0.5141 GB, free: 12.32 MB / 426.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0003752/0.3108, allocations: 0.6216 MB / 0.5148 GB, free: 11.75 MB / 426.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003056/0.3139, allocations: 3.596 MB / 0.5183 GB, free: 8.844 MB / 426.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.287e-06/0.3139, allocations: 0 / 0.5183 GB, free: 8.844 MB / 426.7 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3139, allocations: 4 kB / 0.5183 GB, free: 8.84 MB / 426.7 MB Notification: Performance of Transformations before backend: time 1.115e-05/0.3139, allocations: 0 / 0.5183 GB, free: 8.84 MB / 426.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.001821/0.3157, allocations: 1.897 MB / 0.5201 GB, free: 7.082 MB / 426.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.161e-05/0.3158, allocations: 15.97 kB / 0.5201 GB, free: 7.066 MB / 426.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008696/0.3166, allocations: 394.2 kB / 0.5205 GB, free: 6.75 MB / 426.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001324/0.3179, allocations: 0.9207 MB / 0.5214 GB, free: 5.969 MB / 426.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001078/0.3181, allocations: 199 kB / 0.5216 GB, free: 5.75 MB / 426.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001267/0.3182, allocations: 124 kB / 0.5217 GB, free: 5.629 MB / 426.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001545/0.3197, allocations: 1.669 MB / 0.5234 GB, free: 3.914 MB / 426.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.044e-05/0.3197, allocations: 4 kB / 0.5234 GB, free: 3.91 MB / 426.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.08e-05/0.3198, allocations: 44 kB / 0.5234 GB, free: 3.867 MB / 426.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.632e-05/0.3198, allocations: 32 kB / 0.5234 GB, free: 3.836 MB / 426.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001901/0.3217, allocations: 2.1 MB / 0.5255 GB, free: 1.73 MB / 426.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004353/0.3261, allocations: 4.699 MB / 0.5301 GB, free: 12.92 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008/0.3269, allocations: 0.6821 MB / 0.5307 GB, free: 12.21 MB / 442.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003582/0.3273, allocations: 332.4 kB / 0.531 GB, free: 11.88 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.003095/0.3303, allocations: 2.659 MB / 0.5336 GB, free: 9.191 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.144e-05/0.3304, allocations: 42.55 kB / 0.5337 GB, free: 9.141 MB / 442.7 MB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0001318/0.3305, allocations: 67.36 kB / 0.5338 GB, free: 9.074 MB / 442.7 MB Notification: Performance of pre-optimization done (n=34): time 2.425e-06/0.3305, allocations: 3.984 kB / 0.5338 GB, free: 9.07 MB / 442.7 MB Notification: Performance of matching and sorting (n=34): time 0.0008301/0.3313, allocations: 0.6004 MB / 0.5343 GB, free: 8.457 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.926e-05/0.3314, allocations: 110.8 kB / 0.5344 GB, free: 8.324 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001097/0.3325, allocations: 1.158 MB / 0.5356 GB, free: 7.145 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 2.444e-05/0.3325, allocations: 33.7 kB / 0.5356 GB, free: 7.105 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003454/0.3328, allocations: 0.81 MB / 0.5364 GB, free: 6.285 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.382e-05/0.3329, allocations: 138.9 kB / 0.5365 GB, free: 6.148 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001978/0.3331, allocations: 282.6 kB / 0.5368 GB, free: 5.867 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001277/0.3332, allocations: 398.7 kB / 0.5372 GB, free: 5.469 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003283/0.3336, allocations: 330.5 kB / 0.5375 GB, free: 5.145 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006189/0.3342, allocations: 1.05 MB / 0.5385 GB, free: 3.734 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009747/0.3352, allocations: 1.407 MB / 0.5399 GB, free: 1.961 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.803e-06/0.3352, allocations: 8 kB / 0.5399 GB, free: 1.953 MB / 442.7 MB Notification: Performance of matching and sorting (n=157) (initialization): time 0.001327/0.3365, allocations: 1.444 MB / 0.5413 GB, free: 0.4961 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.3365, allocations: 16 kB / 0.5413 GB, free: 492 kB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3365, allocations: 32.12 kB / 0.5414 GB, free: 460 kB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003319/0.3369, allocations: 149.6 kB / 0.5415 GB, free: 304 kB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008458/0.3377, allocations: 371.5 kB / 0.5419 GB, free: 15.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001672/0.3394, allocations: 3.824 MB / 0.5456 GB, free: 11.84 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003636/0.3397, allocations: 76.08 kB / 0.5457 GB, free: 11.77 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.515e-05/0.3398, allocations: 95.98 kB / 0.5458 GB, free: 11.68 MB / 458.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.0002643/0.3401, allocations: 310.7 kB / 0.5461 GB, free: 11.36 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.743e-05/0.3402, allocations: 99.33 kB / 0.5461 GB, free: 11.27 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000914/0.3411, allocations: 0.8407 MB / 0.547 GB, free: 10.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.3411, allocations: 4 kB / 0.547 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.503e-06/0.3411, allocations: 0 / 0.547 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.3411, allocations: 7.984 kB / 0.547 GB, free: 10.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001005/0.3421, allocations: 1.069 MB / 0.548 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.524e-06/0.3421, allocations: 0 / 0.548 GB, free: 9.246 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001413/0.3423, allocations: 71.83 kB / 0.5481 GB, free: 9.176 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003372/0.3426, allocations: 171.2 kB / 0.5483 GB, free: 8.996 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.073e-05/0.3426, allocations: 15.98 kB / 0.5483 GB, free: 8.98 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001793/0.3444, allocations: 3.694 MB / 0.5519 GB, free: 5.016 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.3444, allocations: 4.469 kB / 0.5519 GB, free: 5.012 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006611/0.3451, allocations: 0.8466 MB / 0.5527 GB, free: 4.113 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.374e-05/0.3451, allocations: 83.33 kB / 0.5528 GB, free: 4.031 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.583e-05/0.3452, allocations: 15.92 kB / 0.5528 GB, free: 4.016 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001762/0.3454, allocations: 11.94 kB / 0.5528 GB, free: 4.004 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.633e-05/0.3454, allocations: 35.95 kB / 0.5529 GB, free: 3.969 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.716e-05/0.3454, allocations: 12 kB / 0.5529 GB, free: 3.957 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0005921/0.346, allocations: 0.827 MB / 0.5537 GB, free: 3.121 MB / 458.7 MB Notification: Performance of sort global known variables: time 7e-08/0.346, allocations: 0 / 0.5537 GB, free: 3.121 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0009941/0.347, allocations: 0.6344 MB / 0.5543 GB, free: 2.484 MB / 458.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.0008226/0.3478, allocations: 0.743 MB / 0.555 GB, free: 1.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.001146/0.349, allocations: 0.7627 MB / 0.5558 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.673e-06/0.349, allocations: 0 / 0.5558 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002892/0.3493, allocations: 390.2 kB / 0.5561 GB, free: 0.5664 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005559/0.3498, allocations: 158.5 kB / 0.5563 GB, free: 428 kB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001839/0.3517, allocations: 1.838 MB / 0.5581 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003272/0.352, allocations: 480.6 kB / 0.5585 GB, free: 14.02 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0004573/0.3525, allocations: 264 kB / 0.5588 GB, free: 13.78 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001468/0.3526, allocations: 144.4 kB / 0.5589 GB, free: 13.63 MB / 474.7 MB Notification: Performance of SimCode: time 5.01e-07/0.3526, allocations: 4 kB / 0.5589 GB, free: 13.63 MB / 474.7 MB Notification: Performance of Templates: time 0.01875/0.3714, allocations: 18.3 MB / 0.5768 GB, free: 11.43 MB / 490.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=480 -s cvode -lv LOG_STATS > Chemical_Chemical.Obsolete.Examples.CheckSubstancesData.StandardElectrochemicalCell2.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 3.492986234021373] Failed to read output from testmodel.py, exit status != 0: 0.37646087200846523 0.38452641899999995 0.06870551400000001 Calling exit ...